2024-01-04 15:44:17 +00:00
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from freqtrade.exchange import Exchange
|
2024-01-04 15:25:40 +00:00
|
|
|
from freqtrade.util.migrations.binance_mig import migrate_binance_futures_names # noqa F401
|
|
|
|
from freqtrade.util.migrations.binance_mig import migrate_binance_futures_data
|
2024-01-04 16:17:32 +00:00
|
|
|
from freqtrade.util.migrations.funding_rate_mig import migrate_funding_fee_timeframe
|
2024-01-04 15:25:40 +00:00
|
|
|
|
|
|
|
|
2024-01-04 15:44:17 +00:00
|
|
|
def migrate_data(config, exchange: Optional[Exchange] = None):
|
2024-01-04 15:25:40 +00:00
|
|
|
migrate_binance_futures_data(config)
|
2024-01-04 15:44:17 +00:00
|
|
|
|
|
|
|
migrate_funding_fee_timeframe(config, exchange)
|