Reduce verbosity

This commit is contained in:
Matthias
2023-11-28 06:34:01 +01:00
parent c0c775114e
commit c61d9e0dec
+2 -2
View File
@@ -118,12 +118,12 @@ class ExchangeWS:
drop_hint = False drop_hint = False
if refresh_date > candle_date: if refresh_date > candle_date:
# Refreshed after candle was complete. # Refreshed after candle was complete.
logger.info(f"{candles[-1][0] // 1000} >= {candle_date}") # logger.info(f"{candles[-1][0] // 1000} >= {candle_date}")
drop_hint = (candles[-1][0] // 1000) >= candle_date drop_hint = (candles[-1][0] // 1000) >= candle_date
logger.info( logger.info(
f"watch result for {pair}, {timeframe} with length {len(candles)}, " f"watch result for {pair}, {timeframe} with length {len(candles)}, "
f"{dt_from_ts(candles[-1][0] // 1000)}, " f"{dt_from_ts(candles[-1][0] // 1000)}, "
f"lref={dt_from_ts(self.klines_last_refresh[(pair, timeframe, candle_type)])}" f"lref={dt_from_ts(self.klines_last_refresh[(pair, timeframe, candle_type)])}, "
f"candle_date={dt_from_ts(candle_date)}, {drop_hint=}" f"candle_date={dt_from_ts(candle_date)}, {drop_hint=}"
) )
return pair, timeframe, candle_type, candles, drop_hint return pair, timeframe, candle_type, candles, drop_hint