Ticker in the conf is now an enum string

This commit is contained in:
Jean-Baptiste LE STANG
2018-01-15 22:27:12 +01:00
parent 658d16c2cd
commit 8e5de365a5
6 changed files with 45 additions and 45 deletions

View File

@@ -223,7 +223,7 @@ CONF_SCHEMA = {
'type': 'object',
'properties': {
'max_open_trades': {'type': 'integer', 'minimum': 1},
'ticker_interval': {'type': 'integer', 'minimum': 1, 'maximum': 1440},
'ticker_interval': {'type': 'string', 'enum': ['1', '5', '30', '60', '1440']},
'stake_currency': {'type': 'string', 'enum': ['BTC', 'ETH', 'USDT']},
'stake_amount': {'type': 'number', 'minimum': 0.0005},
'fiat_display_currency': {'type': 'string', 'enum': ['AUD', 'BRL', 'CAD', 'CHF',