Is there any way I can get callbacks at a periodic rate that's decoupled from OnData? With second resolution data, at least you get callbacks at 1 Hz, but with tick data, the time between callbacks can vary arbitrarily it would seem?

Of course, this is pretty trivial for me to implement in live version in a timer thread or similar, but it needs to work in backtest as well.