-
Notifications
You must be signed in to change notification settings - Fork 119
Add C++ pythd websocket example #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jayantk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the high-level approach makes sense to me. I left you some more tactical comments.
e7bde6c to
1516324
Compare
ali-behjati
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have c++ not qt expertise here but the code is very nice and clear and covers all use cases that comes to my mind.
![]()
This PR demonstrates how to use C++ to publish price updates to the Pyth Network through the pythd websocket API described at https://docs.pyth.network/publish-data/pyth-client-websocket-api
It's a very rough, minimal example which demonstrates how to use the API.