Swap default mode to all limit (defaults to how it was before)
This commit is contained in:
parent
492868a966
commit
968184ef0d
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user