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

Way to monitor rate limits

Open robzsaunders opened this issue 11 months ago • 1 comments

I don't think there's a way for us to watch the rate limits easily with the API is there?

In the documentation it says this: Request header: The returned information of each request will carry the following information: total resource pool quota, resource pool remaining quota, resource pool quota reset countdown (milliseconds). "gw-ratelimit-limit": 500

"gw-ratelimit-remaining": 300

"gw-ratelimit-reset": 1489

I don't have much experience with dealing with request headers so any tips if this is straight forward are welcomed

robzsaunders avatar Mar 14 '24 21:03 robzsaunders