Skip to content
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

WebSocketListener receives RawMessage instead of Parsed Json Trade or quotes #185

Open
krebznet opened this issue Apr 8, 2024 · 0 comments

Comments

@krebznet
Copy link

krebznet commented Apr 8, 2024

I am subscribing to all trades and quotes using PolygonWebSocketClient.kt in my attached listener I am receiving Raw Messages with byteArray despite looking at the stack trace seeing the SDK parsing an array of JSON elements that represent a trade or a quote subscribed to, why is my listener getting the raw data message? Do I have to do my own parsing of raw data to get quote and trade message data, I would think that would be done for me. Please advise
This shows the Raw Message my listener is getting
Screenshot 2024-04-08 at 1 00 43 PM
This shows the JSON being parsed in the stack frame below my listener being called.
Screenshot 2024-04-08 at 1 01 09 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant