Getting x-mbx-order-count values without placing an order

Is there a way to get the current values of my order count 10s and order count 1d values without attempting to place an order (which could violate the limits)? The use case is when my trading program restarts and doesn’t know what the order count values might be.

If not, can you possibly add this, for example to /api/v3/account?

The recommend solution for this:

  • store the order limit usage from each response
  • when restart the client, get the last limit usage locally, based on the time window, you will know how much allowance left.
  • Place an new order( if it’s needed) and validate the usage.

Thanks dino,

A couple of follow up questions:

  • Is the order count calculated over a rolling window, or is there a specific time that it gets reset? If the second one, what time is it for the 1d count?
  • If I submit an order that goes over the limit, will I just get rejected, or will I get banned for some period of time?
  1. fix time window, e.g. 1d order limit starts from UTC 00:00:00
  2. If the order is over the limit, it will be reject. It will not be rejected immediately, but the client should stop and waiting for the next time window.