# 期權鏈到期日

`WS` `request · cmd 20`

該接口用於獲取標的的期權鏈到期日列表。

```protobuf
message SecurityRequest {
  string symbol = 1;
}

message OptionChainDateListResponse {
  repeated string expiry_date = 1;
}
```

## Request Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | Yes | 標的代碼，使用 ticker.region 格式，例如：700.HK |

## Response Fields

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `expiry_date` | string[] | No | 標的對應的期權鏈到期日列表，使用 YYMMDD 格式 |

## Response JSON Example

```json
{
  "expiry_date": [
    "20220422",
    "20220429",
    "20220506"
  ]
}
```
