Security trade updates

​

Retrieves a security's trade updates

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).

Body·

required
application/json

TradeUpdatesRequestV2

  • Array of securities in the form of 'securityCode.exchange@datasource'. Note there is a maximum of 1000 securities.

Responses

  • application/json
Request Example for post/pricing/trades/updates/v2
curl https://test-market-data-api.openmarkets.com.au/pricing/trades/updates/v2 \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "securities": [
    "CBA.ASX@TM",
    "BHP.ASX@AUX"
  ]
}'
[
  {
    "securityCode": "CBA",
    "exchange": "ASX",
    "dataSource": "AUX",
    "tradeNumber": 200016970,
    "tradeGmtDateTime": "2018-05-03T00:55:59.99",
    "tradePrice": 7410,
    "tradeVolume": 140,
    "tradeValue": 10374,
    "tradeDateTime": "2018-05-03T10:55:59.99",
    "conditionCodes": "XT",
    "reason": "BID"
  }
]