Hi everyone,

So I am having a problem with my history calls when trying to warm up my indicators. It seems to not being going into the day before no matter how large my lookback is, so the indicators are working great, but the start point is wrong, leading to incorrect values. 

In my backtest I have the start date and end date the same because I wanted to just look at one day, so thinking the start date was in the way I moved it back one, and still history doesn't touch it. Now obviously I know that the values will not be exactly the same as charting programs, but if you look you can see they are almost a dollar off. I'm sure it is a simple fix but I am in need of some help.

I attached an example backtest and in the logs you can see the indicator values. (indicators in example are [5MIN - EMA20, 5MIN - EMA200, 5MIN - SMA200, 2MIN - EMA200, 1MIN - EMA200, 2MIN - SMA200, 1MIN - SMA200, VWAP])

Thank you in advance for your help.

Hayden 

Author