WebSocketListener receives RawMessage instead of Parsed Json Trade or quotes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start in PolygonWebSocketClient.kt and trace the dispatch path from the parsed JSON array to the attached WebSocketListener. Compare the listener callback with the RawMessage shown in the report. Done means trade and quote subscriptions deliver parsed trade or quote data to the listener instead of a byteArray RawMessage, with relevant behavior covered by tests if they exist.
Written by the indexing model from the issue text.
Description
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
This shows the JSON being parsed in the stack frame below my listener being called.
- Dominant language
- Kotlin
- Stars
- 82
- Forks
- 38
- Avg merge
- 32m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from massive-com/client-jvm
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
massive-com/client-jvm#315 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
massive-com/client-jvm#314 ·
-
`PolygonRestClient.fetchResult` closes `HttpClient` too early, causing `JobCancellationException` Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
massive-com/client-jvm#300 ·
-
[BUG] onAuthenticated not working because of wrong implementation of JsonElement.isStatusMessage() Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
massive-com/client-jvm#297 · 1 comment ·
-
massive-com/client-jvm#295 · 1 comment · 1 assignee ·
All issues in massive-com/client-jvm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
libre-tube/LibreTube#8781 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MetrolistGroup/Metrolist#4396 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100