Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Binance: Too many subscriptions #282

Answered by bmancini55
CloudGiantLabs asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at the doco it states

A single connection can listen to a maximum of 1024 streams.

It looks like that's not limited by IP though. Can you just create a second client instance?

const client1 = new Binance(); // subscribes to first 1024 streams
const client2 = new Binance(); // subscribes to the remaining streams

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nileio
Comment options

Answer selected by CloudGiantLabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants