分紅詳情
獲取詳細分紅資訊,包括宣告日、除息日和派發日。
SDK Links
Python | longport.openapi.FundamentalContext.dividend_detail |
Rust | longport::fundamental::FundamentalContext#dividend_detail |
Go | FundamentalContext.DividendDetail |
Node.js | FundamentalContext#dividendDetail |
Parameters
SDK 方法參數。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 證券代碼,例如 AAPL.US |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"list": [
{
"id": "12345",
"symbol": "AAPL.US",
"ex_date": "2026-02-07",
"payment_date": "2026-02-13",
"record_date": "2026-02-10",
"desc": "Cash dividend 0.25 USD"
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | DividendList |
| 400 | 請求錯誤 | None |
Schemas
DividendList
| Name | Type | Required | Description |
|---|---|---|---|
| list | object[] | true | 分紅記錄列表,見 DividendItem |
| ∟ id | string | false | Dividend event ID |
| ∟ symbol | string | false | Security symbol |
| ∟ desc | string | false | Dividend description |
| ∟ ex_date | string | false | Ex-dividend date (YYYY-MM-DD) |
| ∟ record_date | string | false | Record date (YYYY-MM-DD) |
| ∟ payment_date | string | false | Payment date (YYYY-MM-DD) |