A 15 min bar strategy that calculates on bar close
Backtest
Backtesting will calculate the first OnBarUpdate after the close of the first 15 min bar and then execute code accordingly.
Realtime
Strategy will execute OnBarUpdate at session start and execute code accordingy. Strategy does not wait for the close of the first 15 min bar.
Question:
What is the best way to execute OnBarUpdate after the close of the first bar of the session in the realtime strategy?

Comment