I am working on a strategy which has time-limits on its entry orders (I am managing those time limits directly in the strategy, cancelling those orders when the current 1min bar closes at the time limit). When the market doesn't trade for an extended period of time (see NG overnight for example), it is possible that this time limit gets "skipped over", and before I have a chance to cancel it it order is executed past its time limit.
Is there an alternative to OnBarUpdate(), which can be called on every single 1min interval ? I need this for both backtesting & live trading.
Thanks in advance
Dominique

Comment