獲取標的的期權鏈到期日期權標的列表
該接口用於獲取標的的期權鏈到期日期權標的列表。
CLI安裝 CLI
bash
# AAPL 2026-04-17 到期的行權價列表
longbridge option chain AAPL.US --date 2026-04-17
# TSLA 2026-04-17 到期的行權價列表
longbridge option chain TSLA.US --date 2026-04-17SDK Links
Info
業務指令:21
Request
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 標的代碼,使用 ticker.region 格式,例如:700.HK |
| expiry_date | string | 是 | 期權到期日,使用 YYMMDD 格式,例如:20220429,通過 期權到期日 接口獲取 |
Protobuf
protobuf
message OptionChainDateStrikeInfoRequest {
string symbol = 1;
string expiry_date = 2;
}Response
Response Properties
| Name | Type | Description |
|---|---|---|
| strike_price_info | object[] | 到期日期權標的列表 |
| ∟ price | string | 行權價 |
| ∟ call_symbol | string | CALL 期權標的代碼 |
| ∟ put_symbol | string | PUT 期權標的代碼 |
| ∟ standard | bool | 是否標準期權 |
Protobuf
protobuf
message OptionChainDateStrikeInfoResponse {
repeated StrikePriceInfo strike_price_info = 1;
}
message StrikePriceInfo {
string price = 1;
string call_symbol = 2;
string put_symbol = 3;
bool standard = 4;
}Request Example
Response JSON Example
json
{
"strike_price_info": [
{
"price": "100",
"call_symbol": "AAPL220429C100000.US",
"put_symbol": "AAPL220429P100000.US",
"standard": true
},
{
"price": "105",
"call_symbol": "AAPL220429C105000.US",
"put_symbol": "AAPL220429P105000.US",
"standard": true
},
{
"price": "110",
"call_symbol": "AAPL220429C110000.US",
"put_symbol": "AAPL220429P110000.US",
"standard": true
},
{
"price": "115",
"call_symbol": "AAPL220429C115000.US",
"put_symbol": "AAPL220429P115000.US",
"standard": true
}
]
}錯誤碼
| 協議錯誤碼 | 業務錯誤碼 | 描述 | 排查建議 |
|---|---|---|---|
| 3 | 301600 | 無效的請求 | 請求參數有誤或解包失敗 |
| 3 | 301606 | 限流 | 降低請求頻次 |
| 7 | 301602 | 服務端內部錯誤 | 請重試或聯繫技術人員處理 |
| 7 | 301600 | 請求數據非法 | 檢查請求的 symbol,expiry_date 數據格式 |