Cleanup constants and required

This commit is contained in:
Matthias 2019-11-25 07:12:30 +01:00
parent 646a9d12b2
commit 0775ac081a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,6 @@ bot constants
DEFAULT_CONFIG = 'config.json'
DEFAULT_EXCHANGE = 'bittrex'
PROCESS_THROTTLE_SECS = 5 # sec
DEFAULT_TICKER_INTERVAL = 5 # min
HYPEROPT_EPOCH = 100 # epochs
RETRY_TIMEOUT = 30 # sec
DEFAULT_HYPEROPT_LOSS = 'DefaultHyperOptLoss'
@ -280,5 +279,6 @@ CONF_SCHEMA = {
'dry_run',
'bid_strategy',
'unfilledtimeout',
'stoploss',
]
}

View File

@ -312,7 +312,7 @@ class ApiServer(RPC):
logger.info("LocalRPC - Profit Command Called")
stats = self._rpc_trade_statistics(self._config['stake_currency'],
self._config['fiat_display_currency']
self._config.get('fiat_display_currency')
)
return self.rest_dump(stats)