Skip to content

Get Market Watch

Returns market watch entries for the effective login.

GET

https://{some_domain}/market/watch/list

Authorization

This endpoint requires an authenticated session with one of the following access types:

  • SESSION_USER
  • SESSION_MANAGER
  • SESSION_ADMIN
  • SESSION_DEALER

Login resolution:

  • SESSION_USER: login is taken from the authenticated session
  • SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER: request should include target login

Request

Content-Type: application/json

Body Parameters

Field Type Required Description
prefix string Yes Request context/prefix
login int No Target account login for staff sessions

Response

Success (200)

{
  "assets": {
    "EURUSD": {
      "symbol": "EURUSD",
      "sort_index": 1,
      "color": "#22AA66",
      "market_state": 1,
      "market_reason": 0,
      "price1d": -0.12,
      "high": 1.10523,
      "low": 1.10211,
      "prices": [1.10312, 1.10344, 1.10301]
    }
  }
}

Error Responses

HTTP error Description
400 INVALID_DATA Request validation failed
401 PERMISSION_DENIED Missing or invalid access context
400 INVALID_LOGIN login is missing for staff sessions