投資關係
獲取投資關係數據,包括母公司、子公司及主要持股。
SDK Links
Python | longport.openapi.FundamentalContext.invest_relation |
Rust | longport::fundamental::FundamentalContext#invest_relation |
Go | FundamentalContext.InvestRelation |
Node.js | FundamentalContext#investRelation |
Parameters
SDK 方法參數。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 證券代碼,例如 700.HK |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"forward_url": "https://longport.com/wiki/stocks/ST.HK.700#invest",
"invest_securities": [
{
"symbol": "HUYA.US",
"company_id": "12345",
"company_name": "虎牙直播",
"company_name_en": "Huya Inc.",
"company_name_zhcn": "虎牙直播",
"currency": "USD",
"percent_of_shares": "19.00",
"shares_rank": "1",
"shares_value": "19000000"
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | InvestRelations |
| 400 | 請求錯誤 | None |
Schemas
InvestRelations
| Name | Type | Required | Description |
|---|---|---|---|
| forward_url | string | false | Company investment relations page URL |
| invest_securities | object[] | false | List of investment holdings |
| ∟ symbol | string | false | 證券代碼 |
| ∟ company_id | string | false | Company ID |
| ∟ company_name | string | false | Display company name |
| ∟ company_name_en | string | false | English company name |
| ∟ company_name_zhcn | string | false | Chinese company name |
| ∟ currency | string | false | Currency |
| ∟ percent_of_shares | string | false | Ownership percentage |
| ∟ shares_rank | string | false | Rank by shares held |
| ∟ shares_value | string | false | Value of shares held |