Skip to content

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

Description

@krebznet

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions