Add "defaultCandletype"

This commit is contained in:
Matthias
2021-12-08 13:00:11 +01:00
parent dda7283f3e
commit 222c293602
3 changed files with 12 additions and 6 deletions

View File

@@ -134,7 +134,7 @@ class DataProvider:
combination.
Returns empty dataframe and Epoch 0 (1970-01-01) if no dataframe was cached.
"""
pair_key = (pair, timeframe, CandleType.SPOT_)
pair_key = (pair, timeframe, CandleType.SPOT)
if pair_key in self.__cached_pairs:
if self.runmode in (RunMode.DRY_RUN, RunMode.LIVE):
df, date = self.__cached_pairs[pair_key]