Trading Halt
POST {{URL_ORIGIN}}/api/operations/halt
Trading Halt API allows you to halt the trading for a:
- List of instrument
- All instruments
| Field | Type | Description |
|---|---|---|
| instrumentIds | [] Stringfied numbers | Optional List of instruments to halt Note: not sending this parameter will halt the trading for all instruments |
Trading Halt - Error Codes
| Code | Message |
|---|---|
| 2001 | Wrong action |
| 2001 | Wrong instrumentIds |
| 2401 | Wrong instrumentId: [instrumentId] |
| 403 | Permission denied |
Request Body
{"instrumentIds"=>["12131", "12141"]}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
| `` | null |
RESPONSES
status: OK
{"id":"873","data":{"tradingStatus":"HALT","calendarId":"10"},"requestType":"Halt","name":"","status":"Pending","makerUserId":"auth0|6310aa4ba8cae50015ee3678","makerUserType":"Admin","timestamp":"2024-08-08T05:19:25.859"}