Pass data_format to methods

This commit is contained in:
Matthias
2019-12-27 13:46:25 +01:00
parent 65f539e9d8
commit 9c5b94adf5
7 changed files with 44 additions and 15 deletions

View File

@@ -216,17 +216,17 @@ CONF_SCHEMA = {
'process_throttle_secs': {'type': 'integer'},
'interval': {'type': 'integer'},
'sd_notify': {'type': 'boolean'},
'dataformat_ohlcv': {
'type': 'string',
}
},
'dataformat_ohlcv': {
'type': 'string',
'enum': AVAILABLE_DATAHANDLERS,
'default': 'json'
},
'dataformat_trades': {
'type': 'string',
},
'dataformat_trades': {
'type': 'string',
'enum': AVAILABLE_DATAHANDLERS,
'default': 'jsongz'
}
}
}
},
'definitions': {