https://api.lbkrs.com/v2/discovery/index-constituentsParameters
counter_idstringqueryRequiredSecurity ID (counter_id) of the index, such as IX/HK/HSTECH
offsetintegerqueryRequiredOffset, starting from 0
limitintegerqueryRequiredNumber of items per page. Broker App passes 200
indicatorintegerquerySort indicator:
1- Change percentage (default)2- Last price3- Turnover4- Capital flow5- Turnover rate6- Market capitalization
For indexes without quotes, Broker App always passes 12.
orderintegerquerySort direction:
0- Descending (default)1- Ascending
01
sort_typeintegerqueryLegacy sort mode, superseded by indicator and order. Broker App always passes 0:
0- Change, high to low1- Change, low to high2- Last price, high to low3- Last price, low to high
0123
bmpbooleanqueryWhether the current user receives Hong Kong BMP (snapshot) quotes
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Index Constituents” operation.codemessagedatadataobjectdata structureTotal number of constituents
Constituents on the current page
Child attributes
Security ID of the constituent
Security name
Market, such as HK or US
Last price
Previous close
Change percentage
Net capital inflow
Turnover
Volume
Turnover rate
Market capitalization
Total shares
Shares in circulation
Extended-hours state:
0- Regular session1- Pre-market2- After-hours
012
Last price in pre-market or after-hours trading
Change percentage in pre-market or after-hours trading