Disagree here. While your generosity to the iq of OP is noted, that is not how he/she described his issue. It is apparent that he/she does not understand that being long and short an identical contract at time t0 and offsetting either of the two at t1 is inferior to simply waiting and only trading one side at t1.
An algorithmic strategy architecture keeps track of all positions pertaining to individual strategies (via tagging) but still nets out exposure across all strategies. In fact, a smart architecture will internally net out opposing orders and allocate a synthetic position to each strategy rather than send out 2 otherwise identical orders of opposing direction.
An algorithmic strategy architecture keeps track of all positions pertaining to individual strategies (via tagging) but still nets out exposure across all strategies. In fact, a smart architecture will internally net out opposing orders and allocate a synthetic position to each strategy rather than send out 2 otherwise identical orders of opposing direction.
OK, I think the OP's got the message. He may have some specific requirement that we've overlooked, like taking long and short positions for the same instrument in multiple time-series...in which case, his entry/exit logic and net long/short position will be managed by the trading system.