fix 'max_open_trades must be greater than 0' regression

This commit is contained in:
gcarq
2018-05-03 10:48:25 +02:00
parent a5c1547251
commit 43fd9b37df
2 changed files with 16 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ TICKER_INTERVAL_MINUTES = {
CONF_SCHEMA = {
'type': 'object',
'properties': {
'max_open_trades': {'type': 'integer', 'minimum': 1},
'max_open_trades': {'type': 'integer', 'minimum': 0},
'ticker_interval': {'type': 'string', 'enum': list(TICKER_INTERVAL_MINUTES.keys())},
'stake_currency': {'type': 'string', 'enum': ['BTC', 'ETH', 'USDT']},
'stake_amount': {'type': 'number', 'minimum': 0.0005},