one last step before tests

This commit is contained in:
misagh
2018-11-25 22:02:59 +01:00
parent 29c23e3136
commit 962b02b079
5 changed files with 33 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ from pandas import DataFrame
# Add your lib to import here
import talib.abstract as ta
import freqtrade.vendor.qtpylib.indicators as qtpylib
import numpy # noqa
import numpy # noqa
# This class is a sample. Feel free to customize it.
@@ -55,6 +55,12 @@ class TestStrategy(IStrategy):
'stoploss': 'market'
}
# Optional order time in force
order_types = {
'buy': 'gtc',
'sell': 'gtc'
}
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
"""
Adds several different TA indicators to the given DataFrame