Post subject: Check order in EXECUTING state from API
Post rating: 0
Posted: Wed 03 Oct, 2012, 16:24
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
I received this error in live trading within a Strategy module. I'm sure it was because an order operation was being attempted before the previous operation was completed.
Are there any plans for us to be able to check for the EXECUTING state, so that we might retry a bit later?
I don't think that is currently one of the states available for us to test.
14:40:51 Order can't be processed: order in EXECUTING state, order#67578783 STOP LOSS BUY 0.005 mil. EUR/USD IF ASK => 1.29152
In general, I'd like to be able to find out whether an IOrder is ready for the next order operation, since there are restrictions on the rate of issuing order operations to the server.
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
API Support
Post subject: Re: Check order in EXECUTING state from API