add stoploss to example config and json schema validation

This commit is contained in:
Janne Sinivirta 2017-09-07 17:31:55 +03:00
parent 1dc1018356
commit 83b14523ca
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
"720": 0.01,
"0": 0.02
},
"stoploss": -0.10,
"poloniex": {
"enabled": false,
"key": "key",

View File

@ -24,6 +24,7 @@ _conf_schema = {
},
'minProperties': 1
},
'stoploss': {'type': 'number', 'maximum': 0, 'exclusiveMaximum': True},
'poloniex': {'$ref': '#/definitions/exchange'},
'bittrex': {'$ref': '#/definitions/exchange'},
'telegram': {