I now want to swap out my EnterLong and EnterShort commands with an
AtmStrategyCreate and have the ATM strategy manage the trade.
So, my question ... if I'm in a long position via the AtmStrategyCreate command, how do I reverse that position within the same bar to a short if my program detects a reversal condition before the ATM strategy arrives at an exit? Do I need to close the long ATM (AtmStrategyClose) position before creating a short ATM strategy position to complete my reversal? If so, can I do this so that the reversal (exit of old position and entry of new position) occurs in the same bar?
Thank you for your insight!
Comment