time in force drafted

time in force drafted
This commit is contained in:
misagh 2018-11-25 20:44:40 +01:00
parent 59fc67f85b
commit fb7b65c909

View File

@ -35,6 +35,12 @@ class DefaultStrategy(IStrategy):
'stoploss': 'limit'
}
# Optional time in force for orders
order_time_in_force = {
'buy': 'gtc',
'sell': 'gtc',
}
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
"""
Adds several different TA indicators to the given DataFrame