Swap default mode to all limit (defaults to how it was before)

This commit is contained in:
Matthias 2018-11-17 19:40:22 +01:00
parent 492868a966
commit 968184ef0d
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class DefaultStrategy(IStrategy):
order_types = {
'buy': 'limit',
'sell': 'limit',
'stoploss': 'market'
'stoploss': 'limit'
}
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:

View File

@ -74,7 +74,7 @@ class IStrategy(ABC):
order_types: Dict = {
'buy': 'limit',
'sell': 'limit',
'stoploss': 'market'
'stoploss': 'limit'
}
# run "populate_indicators" only for new candle