From dbb6258c19f46257f9e47b80a2bdfd0de56aa868 Mon Sep 17 00:00:00 2001 From: Domenico Date: Sat, 27 Jun 2020 20:12:28 +0200 Subject: [PATCH] Update stream.py --- src/pricing/stream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pricing/stream.py b/src/pricing/stream.py index eade55b..be7ef0e 100755 --- a/src/pricing/stream.py +++ b/src/pricing/stream.py @@ -67,9 +67,9 @@ def main(): # Print out each price as it is received # for msg_type, msg in response.parts(): - if msg_type == "pricing.Heartbeat" and args.show_heartbeats: + if msg_type == "pricing.PricingHeartbeat" and args.show_heartbeats: print(heartbeat_to_string(msg)) - elif msg_type == "pricing.Price": + elif msg_type == "pricing.ClientPrice": print(price_to_string(msg)) if __name__ == "__main__":