Rate Limiting
- Category
- Algorithmic Trading
- Level
- Professional
Simple definition
A cap the exchange puts on how many requests your software may send in a period. Go over it and your orders are refused, or your key is blocked for a while.
Professional definition
The venue-side control that meters programmatic access, usually as a request or weight budget per rolling window, often separately for order actions and for data queries. Hitting the ceiling returns an error instead of an execution, so a client that assumes its order was placed becomes positionally wrong.
Technical definition
Limits are enforced per key, per address or per account, and are commonly expressed as a weighted budget per window with heavier weights for expensive queries. Correct clients budget deliberately: batch where the venue allows it, prefer streaming updates to polling, hold a reserve of allowance for cancellations, and treat a throttling response as a position-risk event rather than a retryable nuisance. Backing off with randomised delay matters, because synchronised retries from one client are what trigger the limit again.
Academic definition
A venue-imposed quota on the rate of programmatic requests, enforced per credential or network address, which bounds the feasible message rate of any automated strategy.
Mechanism
Matching capacity and bandwidth are shared and finite, so a venue rations them instead of charging for them. The consequence is that message rate becomes a budgeted resource alongside capital: a design needing more messages per second than the allowance permits is infeasible on that venue however good its signal, and cancellations compete with new orders for the same budget.
In practice
- Who uses it
- Bot developers, market makers whose quotes must be amended constantly, and anyone pulling data at high frequency.
- Why it matters
- It decides whether a strategy can run on a venue at all, and it is among the most common causes of silent order failure in production.
- Limitations
- A published limit is a ceiling, not a promise: effective throughput varies with venue load, endpoint weight and account tier, and the published numbers change.
Common mistakes
- Polling the order book instead of subscribing to a stream.
- Retrying immediately after a throttle, which extends the block.
- Reserving no allowance for cancelling live orders.
Examples
On an illustrative budget of 1,200 weight a minute, a depth snapshot costing 10 and an order costing 1: polling depth once a second on one pair uses 600, and on four pairs uses 2,400 — over the cap before a single order is sent.
- illustrative budget = 1200 weight per minute (not any particular venue's published figure)
- depth snapshot weight = 10
- order weight = 1
- polling once per second = 60 calls per minute
- one pair: 60 x 10 = 600 weight
- four pairs: 4 x 600 = 2400 weight
- 2400 > 1200
The numbers are illustrative. The structure of the trade-off — polling is expensive, streaming is cheap, cancels compete with orders — is what generalises.
A quoting bot is throttled during a fast move. New quotes are refused, but so are cancellations, so stale quotes stay live in a market that has already moved — the limit turned a connectivity problem into a position.
Related terminology
- related
- Exchange API Latency Trading Bot High-Frequency Trading Order Matching Market Making Colocation Partial Fill
Latency
A rate limit caps how many messages you may send; latency is how long one takes to arrive and be acted on. A strategy can be fast and still be throttled, or unthrottled and far too slow.
Sources
IOSCO · recommendations on operational and technological resilience of crypto trading platforms
https://www.iosco.org/library/pubdocs/pdf/IOSCOPD747.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
