Skip to content

v3.0.6: Improved warnings if exceeding binance WS topics limits

Choose a tag to compare

@tiagosiebler tiagosiebler released this 19 Aug 13:41
b2330d2

There are documented limits to how many topics binance allows on a single connection. There are also limits to how many topics can be subscribed to in a single request(ws event). This release introduces two core changes:

  • Warnings if you are subscribed to more than 200 topics on one connection. Recommendation is to instance multiple WS clients (1 instance per 200 topics on one connection).
  • Upstream WS requests (subscribing to topics) are now automatically batched into groups of 250 topics, in an attempt to stay within per-request message limits.

What's Changed

  • feat(v3.0.6): enhance WebSocket client with topic subscription warnings by @JJ-Cro in #578

Full Changelog: v3.0.5...v3.0.6