I did some backtesting today and noticed that with Market Orders I get fill prices that often times can't possibly be right because there are differences of 3, 4 or even more pips from the open price of the candle where it is supposed to be near at.

So, with this

ticket = MarketOrder(symbol, 1000);

Debug("Fill Price: " + ticket.AverageFillPrice);

I get fill prices way too far away from where they should be. I mean, I am working with EURUSD, the most liquid forex pair out there with only a micro lot, there shouldn't any notable slippage or whatever.

What is going on here? Is this due to QuantConnect modelling in fees and slippage? But even then, this is often too much.

Author