Ticks subscription
POST/v1/server-events/accounts/:account_id/ws/ticks
This OpenAPI operation models the WebSocket subscription command message.
The actual WebSocket connection handshake is signed as a GET request.
The signed path field in EXN-DATA must exactly match the WebSocket connection path:
/v1/server-events/accounts/{account_id}/ws/ticks.
Use this stream only for live ticks.
Do not subscribe to transactions, account_state, instruments, or hmr through this stream.
Ticks subscription provides realtime Bid/Ask prices for subscribed instruments. Initial state:
- Upon successful subscription, the server sends the last tick for each subscribed instrument.
In order to ensure system stability and performance, tick updates may be throttled. The delivery frequency may be reduced up to one update per 500ms.
Runtime restrictions:
- unavailable if trade_mode is trading_disabled
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
OK
Bad Request
Possible reasons:
- bad request
- trading disabled
Authentication failed.
Possible public error codes include:
AUTH_INVALID_API_KEYAUTH_INVALID_SIGNATURE
Operation is not permitted for the authenticated API key, account, source IP, or operation scope.
Possible public error codes include:
AUTH_PERMISSION_DENIEDACCOUNT_DISABLEDACCOUNT_CLOSE_ONLY
Account not found
Public API endpoint quota exceeded.
REQUEST_RATE_LIMIT is non-retryable automatically. Clients should use
GET /v1/configuration/accounts/{account_id}/limits and local request accounting
to calculate remaining quota before sending more requests.
Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
Service temporarily unavailable.
Possible public error codes include:
SYSTEM_TEMPORARY_UNAVAILABLEMARKET_NO_QUOTES