BITMEX_REST_QUOTA

Static BITMEX_REST_QUOTA 

Source
pub static BITMEX_REST_QUOTA: LazyLock<Quota>
Expand description

Default BitMEX REST API rate limit.

BitMEX implements a dual-layer rate limiting system:

  • Primary limit: 120 requests per minute for authenticated users (30 for unauthenticated).
  • Secondary limit: 10 requests per second burst limit for specific endpoints.

We use 10 requests per second which respects the burst limit while the token bucket mechanism naturally handles the average rate limit.