The use-case here is for strategies placing orders utilizing the unmanaged approach (and ATM Templates) in which the following WILL occur with certainty:
1) Consecutive triggers (whether same direction or opposing direction) occur on unique bars (so 1 trigger per bar, no simultaneous opposing direction orders are ever placed) BEFORE the target/stop OCO of the FIRST entry is hit.
I have code that currently handles all relevant order management with the forced condition of only a SINGULAR ATM Strategy running at any given time. What I would like to do is utilize my existing structure and simply loop through either a List or Array to apply the processing logic to all actively running ATM Strategies and EntryOrders...
So something along the lines of:
foreach(string atmStrategyId in ListAtmStrategyId)
{
// Execute logic
}
Thx.

Comment