refresh_latest_trades: remove "-cached" from trades pair files

This commit is contained in:
Joe Schr 2024-05-16 14:08:02 +02:00
parent d33a14aab1
commit 839827c0d7

View File

@ -2624,7 +2624,7 @@ class Exchange:
else:
until = int(timeframe_to_prev_date(timeframe).timestamp()) * 1000
all_stored_ticks_df = data_handler.trades_load(
f"{pair}-cached", self.trading_mode
f"{pair}", self.trading_mode
)
if not all_stored_ticks_df.empty:
@ -2674,7 +2674,7 @@ class Exchange:
)
results_df[(pair, timeframe, candle_type)] = trades_df
data_handler.trades_store(
f"{pair}-cached", trades_df[DEFAULT_TRADES_COLUMNS], self.trading_mode
f"{pair}", trades_df[DEFAULT_TRADES_COLUMNS], self.trading_mode
)
else: