From c0c5b8aa58fff11ccc8f9d7bbe05952c50abdad2 Mon Sep 17 00:00:00 2001 From: yatmesh Date: Tue, 1 Jul 2025 14:33:18 +0530 Subject: [PATCH] (20250701) - tick out debugging. --- wsio/finstitutions/trading/tick_out.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wsio/finstitutions/trading/tick_out.py b/wsio/finstitutions/trading/tick_out.py index c9ac607..823c3dc 100644 --- a/wsio/finstitutions/trading/tick_out.py +++ b/wsio/finstitutions/trading/tick_out.py @@ -231,7 +231,9 @@ async def ticks_from_kafka( ) # If there are no updates to give: - if not ticks: continue + if not ticks: + no_context_printer("No ticks.") + continue # Each message must be treated as an array of tick updates (list of dicts). # In case the producer is sending each individual tick as a separate message,