Change ticker_interval from 5 to 5m in default strategy

This commit is contained in:
enenn 2018-03-26 16:04:04 +02:00
parent 21468d72d3
commit ce3603f84f
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class DefaultStrategy(IStrategy):
stoploss = -0.10
# Optimal ticker interval for the strategy
ticker_interval = 5
ticker_interval = '5m'
def populate_indicators(self, dataframe: DataFrame) -> DataFrame:
"""

View File

@ -31,7 +31,7 @@ def test_default_strategy(result):
assert type(strategy.minimal_roi) is dict
assert type(strategy.stoploss) is float
assert type(strategy.ticker_interval) is int
assert type(strategy.ticker_interval) is str
indicators = strategy.populate_indicators(result)
assert type(indicators) is DataFrame
assert type(strategy.populate_buy_trend(indicators)) is DataFrame