Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pricing/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down