When the bid/ask prices are available, are these used in calculation of historical market trades, or is "last" used +/- whatever slippage has been specified in the backtest?
Furthermore, is bid/ask used for market trades when live bid/ask data is available and running in simulation mode?

Comment