improve comments

This commit is contained in:
Matthias 2018-07-18 21:53:03 +02:00
parent fa48b8a535
commit 4ebd706cb8

View File

@ -214,7 +214,8 @@ class TestStrategy(IStrategy):
def advise_buy(self, dataframe: DataFrame, pair: str) -> DataFrame:
"""
Based on TA indicators, populates the buy signal for the given dataframe
:param dataframe: DataFrame
:param dataframe: DataFrame populated with indicators
:param pair: Pair currently analyzed
:return: DataFrame with buy column
"""
dataframe.loc[
@ -230,7 +231,8 @@ class TestStrategy(IStrategy):
def advise_sell(self, dataframe: DataFrame, pair: str) -> DataFrame:
"""
Based on TA indicators, populates the sell signal for the given dataframe
:param dataframe: DataFrame
:param dataframe: DataFrame populated with indicators
:param pair: Pair currently analyzed
:return: DataFrame with buy column
"""
dataframe.loc[