开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Unexpected duplicate orders re-submitted many times within a short time


 

Thank you for your reply.
?
Sorrry maybe I didn't state clear enough above.
?
The fact is that the openOrder() got the wrong message that there was no open order existing at that moment(actually there were open orders exsisting at that moment and the TWS show them?
?
correctly).
?
Most of the time the program will get the right openOrder information, but somehow sometime it gets the wrong information that no open order exists without such error message as "Data Service?
?
error". Actually if the program got the "error message", no order will be submitted.
?
My concern is that?
1. what circumstances will possibly cause such "wrong enpmty oepn order information" to be received?
2. and what possible methods can be carried out in advance to avoied such errors in real time? (such erros are really fatal)

Join [email protected] to automatically receive all group messages.