I have a strange problem. When running a strategy with daily bars it only start using data from a certain point. For instance if I run backtest from 2007 to 2011 it starts working only from 2009, and I'll get results for 2009-2011. It starts at different points with different instruments (for instance ZS start from 2009 and ES from the end of 2007).
I made sure that all data is available and I can see it the chart tub.
When trying to run it with data feed connected it gives an error of invalid symbol for the first symbol it needs to use, even though it works perfectly fine with a sample strategy.
When I run it in debug mode I see that the first OnBarUpdate() iteration skips the previous data and just start from a certain point (in my example the first bar will be 12/31/2009 when the from value is 1/1/2007).
Please tell me what I can possibly be doing wrong.
Comment