From c75e5a802072b517ca914f617f66b780e09d6126 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste LE STANG Date: Tue, 30 Jan 2018 17:40:08 +0100 Subject: [PATCH] Fixing the strategy interface class documentation --- freqtrade/strategy/interface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 3c836abb0..9c1829680 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -23,6 +23,7 @@ class IStrategy(ABC): """ Populate indicators that will be used in the Buy and Sell strategy :param dataframe: Raw data from the exchange and parsed by parse_ticker_dataframe() + :param pair: the pair that was is concerned by the dataframe :return: a Dataframe with all mandatory indicators for the strategies """ @@ -31,6 +32,7 @@ class IStrategy(ABC): """ Based on TA indicators, populates the buy signal for the given dataframe :param dataframe: DataFrame + :param pair: the pair that was is concerned by the dataframe :return: DataFrame with buy column :return: """ @@ -40,5 +42,6 @@ class IStrategy(ABC): """ Based on TA indicators, populates the sell signal for the given dataframe :param dataframe: DataFrame + :param pair: the pair that was is concerned by the dataframe :return: DataFrame with buy column """