fredmontet / tars

A crypto trading bot for research and developers
MIT License
7 stars 3 forks source link

Add prerun method #11

Closed fredmontet closed 2 years ago

fredmontet commented 2 years ago

Currently, the strategy run() method is executed at every trade. When it come to using the same model on multiple trades, it's a burden and a method load/train a model before the first run would be required.

fredmontet commented 2 years ago

Actually, there is no need since it can be done in the constructor of the strategy.