I was testing a strategy where I placed a AtmStrategyCreate (so I can manage my own position manually.) at a limit order below or above the market.
Because I made a thinking error it placed a limit order at every new OnBarUpdate. Next thing all orders where filled (300 cars) when price dropped.
I did check ONE order per direction!
Question: how can I protect myself against such thing in realtime trading?
What happens if the strategy has the option "one order per direction" and having multiple limit orders at a price?
Is there a global setting in Ninjatrader to set by default 'always no more than x number of buy/sell pending orders ? I mean to protect myself in any case, by strategy , atm or a manually error ...
Comment