I uploaded historical bid/ask trades value for a specific instrument.
I want to construct a backtest that is as closer to reality as possible using this data.
How can I implement that when I send Buy order I buy at the ask price and vice verse for short trade?
Thanks!

Comment