From a2210d2cc08d1653276eb18a224b75005588e9c9 Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Wed, 20 Nov 2019 21:30:29 +0300 Subject: [PATCH] Align InformativeSample with current freqtrade dataprovider interface --- user_data/strategies/InformativeSample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_data/strategies/InformativeSample.py b/user_data/strategies/InformativeSample.py index 370a7d0..eeb6682 100644 --- a/user_data/strategies/InformativeSample.py +++ b/user_data/strategies/InformativeSample.py @@ -85,7 +85,7 @@ class InformativeSample(IStrategy): if self.dp: # Get ohlcv data for informative pair. data = self.dp.get_pair_dataframe(pair=f"{self.stake_currency}/USDT", - ticker_interval=self.ticker_interval) + timeframe=self.ticker_interval) # Combine the 2 dataframes using 'close'. # This will result in a column named 'closeETH' or 'closeBTC' - depending on stake_currency. dataframe = dataframe.merge(data[["date", "close"]], on="date", how="left", suffixes=("", self.config['stake_currency']))