add warning-message when forcebuy_enable is true

This commit is contained in:
Matthias
2018-10-10 20:13:56 +02:00
parent 6ff4c9b888
commit 3de3c246b4
3 changed files with 18 additions and 1 deletions

View File

@@ -127,6 +127,9 @@ class Configuration(object):
config['db_url'] = constants.DEFAULT_DB_PROD_URL
logger.info('Dry run is disabled')
if config.get('forcebuy_enable', False):
logger.warning('`forcebuy` RPC message enabled.')
logger.info(f'Using DB: "{config["db_url"]}"')
# Check if the exchange set by the user is supported