Skip to content

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

@krebznet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions