When getting analyzed dataframes, use candle_type_def in the pair_key as that's how they're cached.
This commit is contained in:
parent
90c565006b
commit
5743b3a0b7
@ -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, self._config.get('candle_type_def', 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]
|
||||
|
Loading…
Reference in New Issue
Block a user