one last step before tests
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user