1.
Is there a way to check whether OCO string is reused?
Or the Dictionary<string, bool> that filled in OnExecutionUpdate() is one only way?
2.
When OCO string become reused?
Does it happened after one of orders became Filled or OverFilled?
3.
Say, I have a working order. It was submitted 100 bars ago, partial filled 50 bars ago.
May I read it OCO string and submit another order in this bracket?
4.
Strategy have 100 contracts position and 2 OCO Unmanaged protective orders ("stop loss" and "take profit") on InteractiveBrokers account.
Than connection lost.
Than "take profit" partial filled with 30 contracts.
Than "stop loss" partial filled with 70 contracts.
What will remain on account?
Position will be flat, but what about orders?
Does IB automatically adjust OCO brackets quantity?
And what if "stop loss" and "take profit" initially had different quantity?
Thank you.
Comment