add stoploss to example config and json schema validation
This commit is contained in:
parent
1dc1018356
commit
83b14523ca
@ -8,6 +8,7 @@
|
|||||||
"720": 0.01,
|
"720": 0.01,
|
||||||
"0": 0.02
|
"0": 0.02
|
||||||
},
|
},
|
||||||
|
"stoploss": -0.10,
|
||||||
"poloniex": {
|
"poloniex": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"key": "key",
|
"key": "key",
|
||||||
|
1
utils.py
1
utils.py
@ -24,6 +24,7 @@ _conf_schema = {
|
|||||||
},
|
},
|
||||||
'minProperties': 1
|
'minProperties': 1
|
||||||
},
|
},
|
||||||
|
'stoploss': {'type': 'number', 'maximum': 0, 'exclusiveMaximum': True},
|
||||||
'poloniex': {'$ref': '#/definitions/exchange'},
|
'poloniex': {'$ref': '#/definitions/exchange'},
|
||||||
'bittrex': {'$ref': '#/definitions/exchange'},
|
'bittrex': {'$ref': '#/definitions/exchange'},
|
||||||
'telegram': {
|
'telegram': {
|
||||||
|
Loading…
Reference in New Issue
Block a user