mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
12 lines
392 B
Python
12 lines
392 B
Python
from typing import Optional
|
|
|
|
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: Optional[Exchange] = None):
|
|
migrate_binance_futures_data(config)
|
|
|
|
migrate_funding_fee_timeframe(config, exchange)
|