mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Revert "refresh_latest_trades
: remove "-cached" from trades pair files"
This reverts commit 839827c0d7
.
This commit is contained in:
parent
0673f3ec6c
commit
32f931ca25
|
@ -2622,7 +2622,9 @@ class Exchange:
|
|||
|
||||
else:
|
||||
until = int(timeframe_to_prev_date(timeframe).timestamp()) * 1000
|
||||
all_stored_ticks_df = data_handler.trades_load(f"{pair}", self.trading_mode)
|
||||
all_stored_ticks_df = data_handler.trades_load(
|
||||
f"{pair}-cached", self.trading_mode
|
||||
)
|
||||
|
||||
if not all_stored_ticks_df.empty:
|
||||
if all_stored_ticks_df.iloc[0]["timestamp"] <= first_candle_ms:
|
||||
|
@ -2667,7 +2669,7 @@ class Exchange:
|
|||
)
|
||||
results_df[(pair, timeframe, candle_type)] = trades_df
|
||||
data_handler.trades_store(
|
||||
f"{pair}", trades_df[DEFAULT_TRADES_COLUMNS], self.trading_mode
|
||||
f"{pair}-cached", trades_df[DEFAULT_TRADES_COLUMNS], self.trading_mode
|
||||
)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user