add stop_loss based on work from @berlinguyinca

This commit is contained in:
xmatthias
2018-06-26 23:06:27 +02:00
committed by creslinux
parent 584bebfc7d
commit efdcb88303
5 changed files with 45 additions and 12 deletions

View File

@@ -61,6 +61,8 @@ CONF_SCHEMA = {
'minProperties': 1
},
'stoploss': {'type': 'number', 'maximum': 0, 'exclusiveMaximum': True},
'trailing_stop': {'type': 'boolean'},
'trailing_stop_positive': {'type': 'number', 'minimum': 0},
'unfilledtimeout': {'type': 'integer', 'minimum': 0},
'bid_strategy': {
'type': 'object',