create compatibility code

This commit is contained in:
Matthias
2020-06-02 09:50:56 +02:00
parent 3e895ae74a
commit 09fe3c6f5e
5 changed files with 19 additions and 4 deletions

View File

@@ -67,3 +67,9 @@ def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None:
"'tradable_balance_ratio' and remove 'capital_available_percentage' "
"from the edge configuration."
)
if 'ticker_interval' in config:
logger.warning(
"DEPRECATED: "
"Please use 'timeframe' instead of 'ticker_interval."
)
config['timeframe'] = config['ticker_interval']