Skip to Content

Industry Ranking

Get the industry ranking list by market and indicator. The returned Counter ID can be passed directly to industry_peers to explore the sub-sector hierarchy.

CLI
longbridge industry-rank --market US
longbridge industry-rank --market HK --indicator market-cap

Parameters

SDK method parameters.

NameTypeRequiredDescription
marketstringYESMarket code: US / HK / CN / SG
indicatorstringYESRanking indicator: leading-gainer / today-trend / popularity / market-cap / revenue / revenue-growth / net-profit / net-profit-growth
sort_typestringYESSort mode: single / multi
limituint32YESNumber of results to return, default 20

Request Example

Response

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "lists": [
          {
            "name": "Technology",
            "counter_id": "BK/US/IN00258",
            "chg": "0.0231",
            "leading_name": "NVIDIA",
            "leading_ticker": "NVDA.US",
            "leading_chg": "0.0512",
            "value_name": "",
            "value_data": ""
          }
        ]
      }
    ]
  }
}

Response Status

StatusDescriptionSchema
200SuccessIndustryRankResponse
400Bad requestNone

Schemas

IndustryRankResponse

NameTypeRequiredDescription
itemsobject[]falseRanked group list
∟ listsobject[]falseIndustry item list
∟ ∟ namestringfalseIndustry name
∟ ∟ counter_idstringfalseIndustry counter ID (BK/MARKET/ID format), usable in industry_peers
∟ ∟ chgstringfalseDaily change (decimal)
∟ ∟ leading_namestringfalseLeading stock name
∟ ∟ leading_tickerstringfalseLeading stock ticker
∟ ∟ leading_chgstringfalseLeading stock daily change (decimal)
∟ ∟ value_namestringfalseIndicator label (may be empty depending on indicator type)
∟ ∟ value_datastringfalseIndicator value (may be empty)