Skip to content

Fail to subscribe for many symbols at once #24

Description

@Sild

Hi, I try to subscribe for all possible symbols (about 400), and get an error

[2023-11-06T19:33:45Z ERROR bybit::ws] Error: data did not match any variant of untagged enum SpotPublicResponse
[2023-11-06T19:33:45Z DEBUG bybit::ws] Received: {"success":false,"ret_msg":"args size \u003e10","conn_id":"0a555e6f-199c-49bb-9bb8-6f8adcd8b057","op":"subscribe"}

args size \u003e10 decoded as args size > 10

It can be easily fixed by splitting the topics for batches with size=10

I'm happy to provide the MR: #25

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