Unmanaged approach.
Say, I have working order, let it have the name "Tp".
When "Tp" was submitted, it had OCO paired order with "Sl" name.
And then something strange and frighten happened, and now we have one only working "Tp" order.
"Sl" is in a terminal state, or null, or filled, or rejected, or never submitted.
1.
What is the best way to have both "Sl" and "Tp" working and OCO paired?
May I use OCO string from "Tp" and submit "Sl"?
Or it depends on was "Sl" or "Tp" partial-filled before or not?
2.
What will happen with OCO bracket if one of orders was rejected?
Thank you.
Comment