ruff format: exchange/trades_load

This commit is contained in:
Joe Schr
2024-05-16 14:28:30 +02:00
parent f99e8f18bc
commit 0460ce45ff

View File

@@ -2623,9 +2623,7 @@ class Exchange:
else: else:
until = int(timeframe_to_prev_date(timeframe).timestamp()) * 1000 until = int(timeframe_to_prev_date(timeframe).timestamp()) * 1000
all_stored_ticks_df = data_handler.trades_load( all_stored_ticks_df = data_handler.trades_load(f"{pair}", self.trading_mode)
f"{pair}", self.trading_mode
)
if not all_stored_ticks_df.empty: if not all_stored_ticks_df.empty:
if all_stored_ticks_df.iloc[0]["timestamp"] <= first_candle_ms: if all_stored_ticks_df.iloc[0]["timestamp"] <= first_candle_ms: