tfukaza / harvest

Simple and intuitive Python framework for algorithmic trading. Easily create bots to live and paper trade stocks, crypto, and options!
https://tfukaza.github.io/harvest-website
MIT License
124 stars 26 forks source link

[💡Feature Request] Specify date range for backtesting #181

Closed tfukaza closed 3 years ago

tfukaza commented 3 years ago

Describe the feature Allow users to specify the date range of backtesting data. This is useful not only for users, but also for testing purposes, in order to limit the amount of data downloaded.

Interface BackTester.start() will take 2 new params:

Behavior If specified API class cannot supply all the data within range, an Exception should be raised.

tfukaza commented 3 years ago

This is marked as high priority as this feature is needed to test BackTester