¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Retrieving status of a specific orderID through orderStatus or openOrder


 

How did you set profit_order_ID? ?
So I can only speculate that what happen is that orderStatus call back never came with the value orderId that you did set in? profit_order_ID , and this could be pretty normal in many regards, like you never set properly the global profit_order_ID? or that your profit leg is not triggered for various reasons.
be careful with globals, I can only speculate also on reason you use it, but this design pattern is typically unsafe if you manage more than one order at time.

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