港股新股超額配售
GET/api/v1.0/quote/{symbol}/ipo/greenshoe港股新股綠鞋/超額配售資料:是否有綠鞋、是否執行、股數與募資額。公開事實,不含個人申購。
請求參數
| 參數 | 類型 | 位置 | 必填 | 說明 |
|---|---|---|---|---|
symbol | string | 路徑 | 是 | 港股代碼(路徑參數),例: HK.00700 |
請求示例
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/ipo/greenshoe' \
-H 'Authorization: Bearer <AccessToken>' | jq響應參數
| 參數 | 類型 | 說明 |
|---|---|---|
data.has_greenshoe | integer | 是否有綠鞋 |
data.executed | integer | 是否已執行綠鞋 |
data.expire_time | integer | 綠鞋行權完成日,Unix 秒 |
data.list_time | integer | 超額配售股份上市日,Unix 秒 |
data.planned_shares | string | 預計超額配售股數 |
data.actual_shares | string | 超額配售股數 |
data.planned_proceeds | string | 預計超額配售所得款 |
data.actual_proceeds | string | 超額配售募資總額 |
錯誤碼
| ret_code | error.code | 說明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 參數缺失或不在允許範圍內 |
| -7 | invalid_symbol | 標的不存在 |
| -8 | unsupported | 市場或品類不支持 |
| -9 | permission_denied | 沒有對應權限 |
| -10 | no_data | 沒有可返回的數據 |
| -11 | rate_limited | 調用過於頻繁 |
響應示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"has_greenshoe": 0,
"executed": 0,
"expire_time": 0,
"list_time": 0,
"planned_shares": "example",
"actual_shares": "example",
"planned_proceeds": "example",
"actual_proceeds": "example"
}
}