mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-12 19:23:55 +00:00
Improve log msg
This commit is contained in:
parent
3d6cef3555
commit
fcaee33706
|
@ -2253,7 +2253,7 @@ class Exchange:
|
||||||
candle_date = int(timeframe_to_prev_date(timeframe).timestamp())
|
candle_date = int(timeframe_to_prev_date(timeframe).timestamp())
|
||||||
candles = self._exchange_ws.ccxt_object.ohlcvs.get(pair, {}).get(timeframe)
|
candles = self._exchange_ws.ccxt_object.ohlcvs.get(pair, {}).get(timeframe)
|
||||||
x = self._exchange_ws.klines_last_refresh.get((pair, timeframe, candle_type), 0)
|
x = self._exchange_ws.klines_last_refresh.get((pair, timeframe, candle_type), 0)
|
||||||
logger.info(f"{candle_date < x}, {candle_date}, {x}")
|
logger.info(f"{pair}, {candle_date < x}, {candle_date}, {x}")
|
||||||
if candles and candles[-1][0] > min_date and candle_date < x:
|
if candles and candles[-1][0] > min_date and candle_date < x:
|
||||||
# Usable result ...
|
# Usable result ...
|
||||||
logger.info(f"reuse watch result for {pair}, {timeframe}, {x}")
|
logger.info(f"reuse watch result for {pair}, {timeframe}, {x}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user