Skip to content
Sectors and Concepts

Get Multi-Security Price Comparison

Retrieves price series of several securities over a given period, for the trend comparison chart of the sector index and the benchmark index on the sector detail page. Compute relative changes against the first price of each series to overlay them. Only the 1-month, 3-month, and 1-year periods are available; use intraday quotes for the current day. This operation is read-only and has no side effects.

POSThttps://api.lbkrs.com/v1/quote/price_contrast

Request body application/json

securitiesarray<string>required

Security IDs, such as the sector index and the benchmark index

periodintegerrequired

Period:

  • 0 - 1 month
  • 1 - 3 months
  • 2 - 1 year
Values
0
1
2

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Multi-Security Price Comparison” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
securitiesarray<object>

Price series of each security

Child attributes
counter_idstring

Security ID (counter_id), for example ST/US/AAPL or ST/HK/700

pricesarray<object>

Price points in ascending time order

Child attributes
pricestring

Price

timestampinteger

Timestamp

Whale Docs