satisfied flake8 again

This commit is contained in:
Gert Wohlgemuth 2018-06-19 10:00:41 -07:00 committed by Matthias
parent 57f683697d
commit 19b9966417
2 changed files with 6 additions and 4 deletions

View File

@ -76,7 +76,8 @@ class IStrategy(ABC):
:param dataframe: Raw data from the exchange and parsed by parse_ticker_dataframe()
:return: a Dataframe with all mandatory indicators for the strategies
"""
warnings.warn("deprecated - please replace this method with advise_indicators!", DeprecationWarning)
warnings.warn("deprecated - please replace this method with advise_indicators!",
DeprecationWarning)
return dataframe
def populate_buy_trend(self, dataframe: DataFrame) -> DataFrame:
@ -85,7 +86,8 @@ class IStrategy(ABC):
:param dataframe: DataFrame
:return: DataFrame with buy column
"""
warnings.warn("deprecated - please replace this method with advise_buy!", DeprecationWarning)
warnings.warn("deprecated - please replace this method with advise_buy!",
DeprecationWarning)
dataframe.loc[(), 'buy'] = 0
return dataframe
@ -95,7 +97,8 @@ class IStrategy(ABC):
:param dataframe: DataFrame
:return: DataFrame with sell column
"""
warnings.warn("deprecated - please replace this method with advise_sell!", DeprecationWarning)
warnings.warn("deprecated - please replace this method with advise_sell!",
DeprecationWarning)
dataframe.loc[(), 'sell'] = 0
return dataframe

View File

@ -37,7 +37,6 @@ class StrategyResolver(object):
config=config,
extra_dir=config.get('strategy_path'))
# Set attributes
# Check if we need to override configuration
if 'minimal_roi' in config: