As far as I know, the only way to place a bracket order is by calling EClientSocket.placeOrder() with a parent order and then immediately calling the same method with a child order along with the parent order's ID.
I noticed that if the parent order is immediately executed, the child order gets rejected for some reason. Is there any way to work around this?
Thank you
I noticed that if the parent order is immediately executed, the child order gets rejected for some reason. Is there any way to work around this?
Thank you