Made ta_on_candle and optional

No change to existing bot behaviour.
IF a user sets `ta_on_candle": true,` in their config.json
then only when new candle-for-pair is recieved are TA functions called.
This commit is contained in:
creslin
2018-08-03 07:13:37 +00:00
parent 2839ecc9bc
commit 354401bb1e
2 changed files with 4 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ CONF_SCHEMA = {
},
'fiat_display_currency': {'type': 'string', 'enum': SUPPORTED_FIAT},
'dry_run': {'type': 'boolean'},
'ta_on_candle': {'type': 'boolean'},
'minimal_roi': {
'type': 'object',
'patternProperties': {