remove dry_run_db and replace it with db_url in config

This commit is contained in:
gcarq
2018-06-07 05:26:39 +02:00
parent 8583e89550
commit 58a6f21705
3 changed files with 26 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ TICKER_INTERVAL = 5 # min
HYPEROPT_EPOCH = 100 # epochs
RETRY_TIMEOUT = 30 # sec
DEFAULT_STRATEGY = 'DefaultStrategy'
DEFAULT_DB_URL = 'sqlite:///tradesv3.sqlite'
TICKER_INTERVAL_MINUTES = {
'1m': 1,
@@ -83,6 +84,7 @@ CONF_SCHEMA = {
},
'required': ['enabled', 'token', 'chat_id']
},
'db_url': {'type': 'string'},
'initial_state': {'type': 'string', 'enum': ['running', 'stopped']},
'internals': {
'type': 'object',