Dukascopy
 
 
Wiki JStore Search Login

Platform restart and order history question
 Post subject: Platform restart and order history question Post rating: 0   New post Posted: Mon 07 Mar, 2016, 17:27 
User avatar

User rating: 0
Joined: Wed 04 Feb, 2015, 22:35
Posts: 21
Location: United KingdomUnited Kingdom
My strategy is limited to one order open at a time using logical triggers, this works great when the platform is left open. If however, I restart the platform and local run the strategy again, then for some reason the strategy does not see there is already an open order and places another position. Why does this happen and is there a block I can use to prevent it?


 
 Post subject: Re: Platform restart and order history question Post rating: 0   New post Posted: Tue 08 Mar, 2016, 11:23 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

Are you referring to this strategy ?
https://www.dukascopy.com/swiss/english ... 355#p87355

If it is the case, then it is normal as the strategy is trading multiple instruments based and the position number is handled by these logical triggers that disregard any open position at the moment the strategy starts. You can still implement a check of the opened positions but again this will look at the overall number whatever the instrument is.

Another solution would be to launch the strategy remotely at our servers to avoid the start/stop actions that could mislead the strategy overall logic.
These are indeed temporary solutions waiting for the new enhancement to be released (the ability to get position number per instrument)

Cheers


 
 Post subject: Re: Platform restart and order history question Post rating: 0   New post Posted: Tue 08 Mar, 2016, 12:47 
User avatar

User rating: 0
Joined: Wed 04 Feb, 2015, 22:35
Posts: 21
Location: United KingdomUnited Kingdom
Thank you, it seems like remote running is the only solution until the new "check open position(s) on instrument" block is added - any idea when you will be adding this feature? It seems there is a big demand for it.

What are the advantages vs disadvantages of remote running a strategy? As I see it, remote running would be better as the platform does not always need to be running.


 

Jump to:  

cron
  © 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