mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 02:23:05 +00:00
13 lines
435 B
Python
13 lines
435 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 persisted data from old formats to new formats
|
|
"""
|
|
migrate_binance_futures_data(config)
|
|
|
|
migrate_funding_fee_timeframe(config, exchange)
|