Hello,
Is there any way to know our current number of orders/weights like the spot?
For the spot market, we can request /api/v3/rateLimit/order but I can’t find the equivalent in the future API documentation.
Thanks for your answers.
Hello,
Is there any way to know our current number of orders/weights like the spot?
For the spot market, we can request /api/v3/rateLimit/order but I can’t find the equivalent in the future API documentation.
Thanks for your answers.
Hi,
There is no endpoint available to directly request the state of your request or order consumption. However, this information is available in the response header.
Thanks you tantialex for your answer,
In the header I find only 4 occurrences of the term "ratelimit:
"futuresType":"U_MARGINED","rateLimits":[{"rateLimitType":"REQUEST_WEIGHT","interval":"MINUTE","intervalNum":1,"limit":2400},{"rateLimitType":"ORDERS","interval":"MINUTE","intervalNum":1,"limit":1200},{"rateLimitType":"ORDERS","interval":"SECOND","intervalNum":10,"limit":300}],
But where can I find my current count of this limits?
Thanks you
The mentioned data is the response content from the Exchange Information endpoint, not the headers.
Have a look at the documentation for a detailed explanation of limits.
https://binance-docs.github.io/apidocs/futures/en/#limits
- Every request will contain
X-MBX-USED-WEIGHT-(intervalNum)(intervalLetter)
in the response headers which has the current used weight for the IP for all request rate limiters defined.
- Every order response will contain a
X-MBX-ORDER-COUNT-(intervalNum)(intervalLetter)
header which has the current order count for the account for all order rate limiters defined.
I am so bad, thanks for your help!
In the documentation it says :
The order rate limit is posted against each account.
Does each account mean each sub account? Or is it for the total of the sub accounts?
I can’t seem to find this answer in the documentation.
Thank you!
Sub-accounts do not share rate limits. Placing an order on one sub-account will not affect the others.
Thank you for all these explanations and for taking the time to answer me.
Have a nice day!