Install
openclaw skills install hk-ipo-research-assistant港股 IPO 打新研究助手。抓取实时数据(孖展、基石、评级、暗盘、A+H折价、中签率),供 AI 分析判断。 触发词:港股打新、新股分析、IPO、孖展、保荐人、暗盘、中签率、基石投资者。 不适用:A 股打新、美股 IPO、基金申购。
openclaw skills install hk-ipo-research-assistant数据来自第三方公开网站,不构成投资建议。
首次使用前安装 Python 依赖:
cd <skill_dir>
pip install -r scripts/requirements.txt
需要 Python 3.10+。
所有命令通过 Python 调用:
cd <skill_dir>
python3 scripts/hkipo.py <命令> [参数]
以下文档中的命令(如 overview、analyze 02692)都省略了前缀,实际调用时加上 python3 scripts/hkipo.py。
cd <skill_dir>
# 当前招股一览
python3 scripts/hkipo.py overview
# 一键分析(聚合多维度数据)
python3 scripts/hkipo.py analyze 02692
# 单只股票分项查询
python3 scripts/hkipo.py aipo ipo-brief 02692 # 基本信息
python3 scripts/hkipo.py aipo margin-detail 02692 # 孖展明细
python3 scripts/hkipo.py aipo cornerstone 02692 # 基石投资者
python3 scripts/hkipo.py aipo rating-detail 02692 # 机构评级
| 命令 | 说明 |
|---|---|
overview | 当前招股 IPO 一览(格式化输出) |
calendar | 资金日历,按截止日期分组 |
analyze <代码> | 一键分析(聚合基本面+孖展+基石+评级+保荐人历史) |
profile | 用户画像 + 当前 IPO 数据(读取用户画像,输出当前 IPO 数据供 AI 分析) |
| 命令 | 说明 |
|---|---|
aipo margin-list | 孖展列表(当前招股) |
aipo margin-detail <代码> | 单只孖展明细(13+券商) |
aipo rating-list | 新股评级列表 |
aipo rating-detail <代码> | 单只评级明细(各机构打分) |
aipo ipo-brief <代码> | IPO 基本信息(保荐人、发行价、市值、PE) |
aipo cornerstone <代码> | 基石投资者(名单、金额、锁定期、解禁日) |
aipo placing <代码> | 配售结果 |
| 命令 | 说明 |
|---|---|
aipo grey-list | 暗盘历史列表 |
aipo grey-today | 今日暗盘 |
aipo grey-trades <代码> --date YYYY-MM-DD | 暗盘成交明细 |
aipo grey-prices <代码> --date YYYY-MM-DD | 暗盘分价表 |
aipo grey-placing <代码> | 暗盘配售详情 |
aipo allotment | 中签结果列表 |
aipo scroll | 市场滚动消息 |
| 命令 | 说明 |
|---|---|
aipo bookrunner-rank --start-date --end-date | 账簿管理人排名 |
aipo broker-rank --start-date --end-date | 券商参与度排名 |
aipo stableprice-rank --start-date --end-date | 稳价人排名 |
aipo summary --year 2025 | 年度 IPO 统计 |
aipo performance --year 2025 | 年度表现统计 |
aipo by-office --year 2025 | 按注册地统计 |
| 命令 | 说明 |
|---|---|
jisilu list | 历史 IPO 列表(表格) |
jisilu list --json | 历史 IPO 列表(JSON) |
jisilu list --sponsor XX | 按保荐人筛选 |
jisilu detail <代码> | 单只历史详情 |
| 命令 | 说明 |
|---|---|
ah compare <代码> --price <发行价> --name <名称> | A+H 折价计算 |
| 命令 | 说明 |
|---|---|
odds --oversub <倍数> --price <价格> | 中签率表格(甲/乙组各档) |
allotment --oversub <倍数> --price <价格> | 单次中签率预测 |
| 命令 | 说明 |
|---|---|
hkex active | 港交所活跃申请(含招股书链接) |
tradesmart list | TradeSmart 数据 |
futu list | 富途历史数据 |
| 命令 | 说明 |
|---|---|
hsi | 恒生指数当日表现(大盘情绪) |
sponsor | 保荐人历史排名(胜率、平均首日表现) |
sentiment sponsor-search --name <名称> | 查特定保荐人战绩 |
etnet list | 保荐人排名(经济通数据,备用) |
etnet search --name <名称> | 查保荐人(经济通数据) |
结合以下数据综合判断:
aipo、jisilu --json、ah compareoverview、calendar、odds、jisilu list--format table:aipo 命令可切换表格输出详见 references/analysis-guide.md,核心:
jisilu list --sponsor 查历史战绩margin-detail 获取 oversubscription_forecast(预测超购倍数)./hkipo odds --oversub <倍数> --price <发行价> 生成表格使用 profile 命令:
./hkipo profilescripts/config/user-profile.yamlprofile 获取数据配置文件 (scripts/config/user-profile.yaml):
capital: 22000 # 港币
risk: conservative # conservative/balanced/aggressive
margin: never # never/cautious/active
broker: longbridge
references/analysis-guide.md — 分析框架详解references/ipo-mechanism.md — 机制详解(回拨、红鞋、绿鞋)references/aipo-api.md — AiPO API 完整文档