Skip to Content

Limits

How often and how much: the limits of the listener, of requests and of the stream.

Limits of the listener

Counted for the whole listener, not per client. GET /v1/meta returns the values of the running terminal; an excess is answered with 429 rate_limited.

LimitValueDescription
ws_connections_per_token8Stream connections per token.
subscriptions_per_connection100Subscriptions per stream connection.
api_only_instruments50Instruments opened only for the API. Those open in the window do not count.
exchange_subscriptions_per_second5New subscriptions on exchanges a second.
commands_per_second10Trading commands a second, for all clients together.
workspace_commands_per_second5Workspace commands a second, for all clients together.
settings_commands_per_second5PATCH /settings requests a second, for all clients together.

Limits of requests

The bounds of parameters and of lists in request bodies, as the specification states them.

OperationParameterRangeDefault
GET /v1/instrumentslimit1–2000500
GET /v1/market/candleslimit≤ 2000500
GET /v1/market/tradeslimit1–1000100
GET /v1/market/orderbookdepth1–20050
GET /v1/account/fillslimit1–1000100
POST /v1/workspace/windows/{id}/tabs/{tab}/stacksitems1–50
POST /v1/workspace/tabsitems1–50
POST /v1/workspace/tabsname≤ 64
PATCH /v1/settingschanges1–100

Limits of the stream

Close codes

CodeMeaning
1001the API was switched off or the token was reissued
4008the client is too slow and did not keep up for longer than 5 s
4029the limit of stream connections per token

Limits

GET /v1/meta returns the limits. A refusal is an error frame with rate_limited in answer to the request, or a close with 4029.

LimitValue
stream connections per token8
subscriptions per connection100
instruments opened only for the API50, not counting those open in the window
new subscriptions on exchanges a second5

Slow clients

A client that does not read slows down neither the terminal nor other clients. Frames it does not take in time are dropped. For trades a gap frame names the lost numbers. For the other topics the next frame is simply newer.

On this page