edtechre / pybroker

Algorithmic Trading in Python with Machine Learning
https://www.pybroker.com
Other
2.09k stars 262 forks source link

Add date check to avoid unnecessary call #2

Closed sahasrara62 closed 1 year ago

sahasrara62 commented 1 year ago

Add a date check where it validates start_date <= end_date always

edtechre commented 1 year ago

Thank you for your input.

Could you give more information on this? The Strategy class will check date bounds.

edtechre commented 1 year ago

Added start/end bound checks to the DataSource base class as well.