I am still talking Market orders.
1. Backtesting - Default fill type "executes" market orders on next bar open I believe. So it can be fixed with custom fill type using Bid and Ask data... Thats I understand..
2. Replay.. Loads of questions:
- it uses Fill type only to simulate orders when a strategy applied on a chart which already has some data... So while is replaying the Fill type is irrelevant - is that correct ?
- I downloaded L2 data from your server and sat with Replay for a long time. I am sure it does not use Bid / Ask for fills during replays but rather Last.. Can you please describe what does Replay do with Market orders?
3. Simulation - is running a strategy using live R/T data feed on simulation account. It also called Paper trading. So I again tried to watch a strategy placing orders but I am not convinced it uses best bid / ask for simulation.. What does it do?
And the last question - if Replay and Sim dont use Bid/Ask how one can programmatically fix it? I understand that custom Fill type is not going to help..
Any ideas?

Comment