Remove unnecessary default parameters

This commit is contained in:
Matthias
2021-12-07 20:30:58 +01:00
parent ac2fb08aea
commit dda7283f3e
5 changed files with 12 additions and 44 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]