Hi all,

I would like to perform some anchored backtesting.

This is something that tradestation and amibroker do, and consist on using in calculations all the historical data before the trade instant, not just a fixed historical  window .

It is very useful and realistic, since it is natural to use all available data to train a model, and in principle the more data is used the better the model should be.

When requesting historical data, how can this be achieved? Is there any example?

 

Thanks