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

Fail to subscribe for many symbols at once #24

Open
Sild opened this issue Nov 6, 2023 · 0 comments
Open

Fail to subscribe for many symbols at once #24

Sild opened this issue Nov 6, 2023 · 0 comments

Comments

@Sild
Copy link

Sild commented Nov 6, 2023

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

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