期权 Gamma 敞口
GET/api/v1.0/quote/{code}/option-gamma-exposure获取标的期权的 Gamma 敞口分布和总 GEX 曲线。支持 HK / US / JP。指数标的传 index_option_type。
请求参数
| 参数 | 类型 | 位置 | 必填 | 说明 |
|---|---|---|---|---|
code | string | 路径 | 是 | 标的,例: US.AAPL / HK.00700 |
expire_time | string | 查询 | 否 | 到期日 yyyy-MM-dd,可逗号分隔 |
index_option_type | int | 查询 | 否 | 指数期权类型,正股不传 |
filter_standard | string | 查询 | 否 | ALL / STANDARD / NON_STANDARD |
point_count | int | 查询 | 否 | 插值点数,默认 0,最大 20000 |
请求示例
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/option-gamma-exposure' \
-H 'Authorization: Bearer <AccessToken>' | jq响应参数
| 参数 | 类型 | 说明 |
|---|---|---|
data.call_wall_strike | string | 看涨墙行权价 |
data.put_wall_strike | string | 看跌墙行权价 |
data.underlying_price | string | 计算时的标的价格 |
data.update_time | int | 更新时间,Unix 毫秒 |
data.zero_gamma_points | string[] | 零 Gamma 翻转点 |
data.items[].strike_price | string | 行权价 |
data.items[].call_gex | string | Call GEX |
data.items[].put_gex | string | Put GEX |
data.items[].net_gex | string | Net GEX |
data.profile_points[].spot_price | string | 假设标的价格 |
data.profile_points[].aggregate_gex | string | 总 GEX |
data.interpolated_points[].spot_price | string | 插值价格 |
data.interpolated_points[].aggregate_gex | string | 插值总 GEX |
错误码
| ret_code | error.code | 说明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 参数不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_data | 没有数据 |
响应示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"call_wall_strike": "180",
"put_wall_strike": "170",
"underlying_price": "175.5",
"items": [
{
"strike_price": "175",
"call_gex": "1.2",
"put_gex": "-0.4",
"net_gex": "0.8"
}
]
}
}