Greatly speed up recursive by caching exchange

This commit is contained in:
Matthias
2023-10-02 06:33:57 +02:00
parent f175fc6e9b
commit 84335d58b3

View File

@@ -120,6 +120,7 @@ class RecursiveAnalysis(BaseAnalysis):
prepare_data_config['exchange']['pair_whitelist'] = pairs_to_load
backtesting = Backtesting(prepare_data_config, self.exchange)
self.exchange = backtesting.exchange
backtesting._set_strategy(backtesting.strategylist[0])
varholder.data, varholder.timerange = backtesting.load_bt_data()