Dukascopy
 
 
Wiki JStore Search Login

USD/RUB Fun
 Post subject: USD/RUB Fun Post rating: 0   New post Posted: Mon 11 Feb, 2013, 01:10 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Hi support,

Below is my current position my webpage shows that i have lost 1 million buck, my account shows that i made a P/L of 35 million RUB.

Who should we trust :lol:

Position Type Position ID Side Instrument Amount Open Price Current Price P/L Swaps Gross P/L Commission Open Date Current Date
Regular 48152911 SHORT USD/RUB -1 175 200.00 30.14544 0 35 426 921.09 RUB 4 718.43 RUB 35 431 639.52 RUB -21.21 USD 08.02.2013 06:20:08 11.02.2013 00:07:25


 
 Post subject: Re: USD/RUB Fun Post rating: 0   New post Posted: Tue 12 Feb, 2013, 02:38 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Another problem with my strategy seems to be that when i closed my position it only closed it partially. Why would this happen? I am using a basic order.close() order...


 
 Post subject: Re: USD/RUB Fun Post rating: 0   New post Posted: Wed 13 Feb, 2013, 03:28 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Here is the log for the partial fill:

ERROR
08.02.2013 14:42:47 Partial fill: 3204823 USD of 4380023 USD for #183222550 BUY 3.204823 mil. USD/RUB @ MKT MAX SLIPPAGE 0.0005 - Position #48152911
INFO
08.02.2013 14:42:47 Position 48152911 TAKE PROFIT #183136787 amount changed from 4.38 mil. to 1.1752 mil. USD
INFO
08.02.2013 14:42:47 Position 48152911 STOP LOSS #183136786 amount changed from 4.38 mil. to 1.1752 mil. USD

Log clearly state that it's trying to close 4M38 anyone had the same issues?

Also my strategy has been restarted on the 12 it seem (by someone) and now the strategy is not able to close the order using:
for (IOrder order : engine.getOrders(instrument)) {
if (order.getLabel()=="MyTrade") {

It's like it can find "MyTrade" Anymore? If you restart a strategy does the engine keep the order from the previous Run or does it loose everything?

I am keen on changing the strategy but i do not understand what's not working some help would be appreciated ,-)


 
 Post subject: Re: USD/RUB Fun Post rating: 0   New post Posted: Wed 13 Feb, 2013, 13:38 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Ok i might have solved the issue...

Still don't understand why it did not close the trade properly tho.


 
 Post subject: Re: USD/RUB Fun Post rating: 0   New post Posted: Fri 15 Feb, 2013, 18:27 
User avatar

User rating: 8
Joined: Wed 21 Apr, 2010, 10:42
Posts: 1167
The positions on USDRUB has been closed.


 
 Post subject: Re: USD/RUB Fun Post rating: 0   New post Posted: Sun 17 Feb, 2013, 14:55 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Yeah well i uploaded a new strategy a few days ago and was able to close the trade, hope you guys did no close the trade that was open on Friday i was going to go for 100% of winning trades this month ,-)

The problem i think is that i was using == instead of equals, it works while back testing but i think when you guys restarted all strategies to fix your server issues it caused it to fail and i don't understand why.

for the partial closing of order it could be because of lack of liquidity on the market.

Anyway will see on the long run how things works...


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com