Skip to content

Instantly share code, notes, and snippets.

@igotit-anything
Last active September 7, 2024 09:52
Show Gist options
  • Save igotit-anything/c7babbbe4a2c340671387477c270c6c7 to your computer and use it in GitHub Desktop.
Save igotit-anything/c7babbbe4a2c340671387477c270c6c7 to your computer and use it in GitHub Desktop.
# 메시지 핸들러 함수 정의
def handle_message(message):
if 'data' in message:
data = message['data']
for tick_data in data:
print("Received Tick Data:", tick_data)
else:
print("Received Message without 'data' field:", message)
@igotit-anything
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment