mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
Improve exchange_ws terminology
This commit is contained in:
@@ -2249,7 +2249,7 @@ class Exchange:
|
||||
if self._exchange_ws:
|
||||
candle_date = int(timeframe_to_prev_date(timeframe).timestamp())
|
||||
candles = self._exchange_ws.ccxt_object.ohlcvs.get(pair, {}).get(timeframe)
|
||||
x = self._exchange_ws.pairs_last_refresh[(pair, timeframe, candle_type)]
|
||||
x = self._exchange_ws.klines_last_refresh.get((pair, timeframe, candle_type))
|
||||
logger.info(f"{candle_date < x}, {candle_date}, {x}")
|
||||
if candles and candles[-1][0] > min_date and candle_date < x:
|
||||
# Usable result ...
|
||||
|
||||
Reference in New Issue
Block a user