backtest marketdata - part 1