Remove capital_available_percentage and raise instead

This commit is contained in:
Matthias
2020-06-01 19:58:28 +02:00
parent 84c50bf16c
commit 3139343946
6 changed files with 6 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None:
if (config.get('edge', {}).get('enabled', False)
and 'capital_available_percentage' in config.get('edge', {})):
logger.warning(
raise OperationalException(
"DEPRECATED: "
"Using 'edge.capital_available_percentage' has been deprecated in favor of "
"'tradable_balance_ratio'. Please migrate your configuration to "