chore: some minor cleanups

This commit is contained in:
Matthias
2025-12-07 18:19:22 +01:00
parent f8d6363d19
commit c1c968666e
2 changed files with 1 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ class DataProvider:
# TODO: does this message make sense? might be pointless as funding fees don't
# have a timeframe
logger.warning(
f"{pair}, {timeframe} requested - funding rate timeframe not matching {ff_tf}. "
f"{pair}, {timeframe} requested - funding rate timeframe not matching {ff_tf}."
)
return ff_tf

View File

@@ -7,7 +7,6 @@ def test_migrate_funding_rate_timeframe(default_conf_usdt, tmp_path, testdatadir
copytree(testdatadir / "futures", tmp_path / "futures")
file_30m = tmp_path / "futures" / "XRP_USDT_USDT-30m-funding_rate.feather"
file_1h_fr = tmp_path / "futures" / "XRP_USDT_USDT-1h-funding_rate.feather"
file_1h_fr = tmp_path / "futures" / "XRP_USDT_USDT-1h-funding_rate.feather"
file_1h = tmp_path / "futures" / "XRP_USDT_USDT-1h-futures.feather"
file_1h_fr.rename(file_30m)
assert file_1h.exists()