kucoin-python-sdk icon indicating copy to clipboard operation
kucoin-python-sdk copied to clipboard

How to track more than 100 pairs?

Open EUA opened this issue 4 years ago • 2 comments

I have this error when I try to track more than 100 pairs.

{'id': 'xxxx', 'type': 'error', 'code': 509, 'data': 'exceed max subscription count limitation of 100 per time'}

Can't find how to do.

EUA avatar Sep 15 '21 12:09 EUA

I have this error when I try to track more than 100 pairs.

{'id': 'xxxx', 'type': 'error', 'code': 509, 'data': 'exceed max subscription count limitation of 100 per time'}

Can't find how to do.

https://docs.kucoin.com/#request-rate-limit

Topic Subscription Limit Maximum number of batch subscriptions at a time: 100 topics Subscription limit for each connection: 300 topics

If you really need to subscribe to so many topics, you can use multiple sub-accounts to subscribe

codewc avatar Sep 15 '21 12:09 codewc

How can I increase it to 300 on one connection? What is the way to do it? Do I need to pause for some seconds after subscribing 100 pairs?

EUA avatar Sep 15 '21 15:09 EUA