Market status

To receive notifications about changes of market trading status, the client must connect via WebSocket with the topic marketstatus.

Message of type marketstatus is sent to the client after the connection is initiated with the marketstatus topic or without any topic specified. This message represents the market trading status at that moment. Subsequent messages of type marketstatus are sent to reflect changes to the market status.


GET https://isot.okte.sk/api/v1/idm/market-status

Example

GET https://isot.okte.sk/api/v1/idm/market-status{
  "systemTime": "2024-11-19T22:00:50.3884144Z",
  "tradeDay": "2024-11-19",
  "tradingStatus": "xbidOk"
}

Response fields description

Field Description Format
systemTime System time Date Time 8601 UTC
tradeDay Current trade/delivery day Date 8601
tradingStatus Market trading status Enum (xbidOk, xbidNok, xbidHalt, xbidBatchMatching, localOn, localOff)

Request may return HTTP status codes 200 (OK), 429 (Too Many Requests), or 500 (Internal Server Error).

Change message example (WebSocket)

WS wss://isot.okte.sk/api/v1/idm/ws?topics=marketstatus{
  "type": "marketstatus",
  "payload": {
    "systemTime": "2024-11-19T22:00:50.3884144Z",
    "tradeDay": "2024-11-19",
    "tradingStatus": "xbidHalt"
  }
}