Since the stop & target of the OCO order would simply close the primary order, why would the ATM strategy see the OCO as having any effect on maximum position quantity or excess intraday margin when attempting to submit it? But that is exactly what happens..., immediately after the primary order is filled and the ATM strategy attempts to submit the OCO, the OCO is cancelled with an error stating, 'Order xxxxx can't be submitted, Exceeds instruments maximum position quantity'. Note that the primary order remains in force after the error, but without any stop or target order to close it.
However, after the OCO gets cancelled with the aforementioned error, I can set the ATM strategy to 'None', and manually submit the OCO without any problem. As such, this appears to be a bug with the way the ATM strategy works, specifically failing to recognize that the execution of the OCO would NOT increase the position quantity or require any additional excess margin. If my understanding of what is happening, or my expectation for what should be happening is incorrect, please help me out and shed some light on this.
Thanks,
-Z
Comment