Small adjustments to relative_stake PR

This commit is contained in:
Matthias
2020-01-03 11:34:17 +01:00
parent 71dd038664
commit 7e7c82cf4a
4 changed files with 5 additions and 4 deletions

View File

@@ -81,8 +81,8 @@ def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None:
"PrecisionFilter. Please refer to the docs on configuration details")
config['pairlists'].append({'method': 'PrecisionFilter'})
if (config.get('edge', {}.get('enabled', False))
and config.get('edge', {}).get('capital_available_percentage')):
if (config.get('edge', {}).get('enabled', False)
and 'capital_available_percentage' in config.get('edge', {})):
logger.warning(
"DEPRECATED: "
"Using 'edge.capital_available_percentage' has been deprecated in favor of "