Expand description
Derive v3 request budgets and per-wallet/instrument order pacing.
Request budgets reset in five-second fixed windows. Instrument buckets refill continuously and hold reserved capacity until a signed request is dispatched. HTTP and WebSocket clients on the same API host share wallet state across session keys and subaccounts. Public requests share a separate process-local per-host budget, conservatively assuming one source IP.
Published defaults are a reference snapshot. Read deployed request budgets
with public/getRateLimits; it does not report instrument allowances.
Client windows cannot observe the venue’s phase, and transport queues can
delay departure, so definitive venue throttling remains possible.
Constants§
- DERIVE_
CANCEL_ ALL_ RATE_ KEY - Identifier for the
private/cancel_allrequest budget. - DERIVE_
CANCEL_ ALL_ TPS - Reference
private/cancel_allrequests per second. - DERIVE_
CANCEL_ BY_ LABEL_ RATE_ KEY - Identifier for the
private/cancel_by_labelrequest budget. - DERIVE_
CANCEL_ BY_ LABEL_ TPS - Adapter
private/cancel_by_labelendpoint allowance, retaining the integrator reference’s 10 TPS for unscoped calls. - DERIVE_
DEFAULT_ MATCHING_ TPS - Reference wallet matching requests per second.
- DERIVE_
DEFAULT_ PER_ INSTRUMENT_ MATCHING_ TPS - Reference per-instrument refill rate for perpetuals and spot.
- DERIVE_
MATCHING_ RATE_ KEY - Identifier for the matching request budget.
- DERIVE_
NON_ MATCHING_ RATE_ KEY - Identifier for the non-matching request budget.
- DERIVE_
NON_ MATCHING_ TPS - Reference public request allowance per IP, in requests per second.
- DERIVE_
RATE_ BURST_ MULTIPLIER - Instrument capacity multiplier and requests per fixed window per TPS.
- DERIVE_
RATE_ WINDOW_ SECS - Request-budget fixed-window duration in seconds.
- DERIVE_
WEBSOCKET_ NON_ MATCHING_ TPS - Reference authenticated non-matching requests per second.