Backtesting example scalping strategy

How to backtest async strategies such as the example scalping?