I was wondering if someone can explain to me what happens when you have one automated strategy active, say in a long position, and another strategy triggers which enters the opposite direction.
For example, say I'm long natural gas from an algo, and another algo for a short position triggers. Obviously I can't be both long and short simultaneously on the same account, so my question is whether I simply end up flat, with the second entry cancelling the first and neither strategy active, or if the logic somehow recognizes I'm currently long, and enters two short contracts to establish the new position. I assume the former since I don't see any way each strat logic would be able to "see" that there is a pre-existing position.
I am also curious what happens to any stops or targets -- again, say I'm long NG with both a stop and target in place, and then a short strategy triggers, which ALSO has a stop and target....assuming the second strategy puts me flat, are all of the stops and targets cancelled and removed as well? Or would these in fact still be sitting on the chart/exchange waiting to be filled? I'd hate to have an opposing strategy take me out, only to leave these to get filled....since they are OCO you'd then end up naked on fill and with no strategy logic to take you out either.
Regards,
Andrew
Comment