freqtrade_origin/freqtrade/util/migrations/__init__.py
2024-11-08 04:37:33 +08:00

10 lines
360 B
Python

from freqtrade.exchange import Exchange
from freqtrade.util.migrations.binance_mig import migrate_binance_futures_data
from freqtrade.util.migrations.funding_rate_mig import migrate_funding_fee_timeframe
def migrate_data(config, exchange: Exchange | None = None):
migrate_binance_futures_data(config)
migrate_funding_fee_timeframe(config, exchange)