Security live depth

​

Get a security's live depth

Path Parameters

  • The security in the form of 'securitycode.exchange@datasource'.

Query Parameters

  • The maximum ask level to retrieve up to.

  • The maximum bid level to retrieve up to.

  • Group levels by price or order

Headers

  • The unique identifier of the request. It is used for identifying the request when using updates. It is recommended that this be set to a globally unique identifier (GUID).

Responses

  • application/json
Request Example for get/pricing/depth/{security}/v1
curl 'https://test-market-data-api.openmarkets.com.au/pricing/depth/CBA.ASX@AUX/v1?askLevelMax=10&bidLevelMax=10&groupBy=Price' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "askPrice": 8000,
    "askVolume": 3,
    "askOrderCount": 1,
    "askDataSources": [
      "TM"
    ],
    "bidPrice": 6960,
    "bidVolume": 2,
    "bidOrderCount": 1,
    "bidDataSources": [
      "CXA"
    ]
  },
  {
    "askPrice": 8010,
    "askVolume": 12,
    "askOrderCount": 2,
    "askDataSources": [
      "TM"
    ],
    "bidPrice": 6950,
    "bidVolume": 5,
    "bidOrderCount": 3,
    "bidDataSources": [
      "CXA"
    ]
  }
]