rights-allotment-arbitrage
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rights-allotment-arbitrage" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-acee0813dc24584a035bc69550880956879ff8f90f1f9becf93688067754dc1e. Verify the upstream source and version against https://skillhub.cn/skills/user_3197f851/rights-allotment-arbitrage before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A convertible bond rights-allotment analysis tool. It scans upcoming convertible bond issuances and calculates metrics such as value per 100 yuan including rights, shares required to be allocated per lot, invested cost, safety cushion, estimated listing price, and an overall score to help assess cost-effectiveness and risk of rights allotment; it also provides issuance approval status queries (approved-awaiting-issue / exchange review / proposal) to support early positioning. Intended for A-share convertible bond investors.
Introduction source: third_party · user_3197f851 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: rights-allotment-arbitrage
description: "可转债抢权配售分析工具(抢权配债)。扫描即将发行的可转债,计算百元含权量、配1手所需股数、投入成本、安全垫、预估上市价格、综合评分,帮助判断抢权配债的性价比和风险。同时提供可转债发行审批进度查询(核准待发/交易所审核中/预案),用于潜伏配债提前布局。适用于 A 股可转债投资者。"
trigger:
- 抢权配债
- 抢权
- 配债
- 含权
- 安全垫
- 配售
- 配1手
- 百元含权
- 配债权
- 抢权分析
- 配债机会
- 配债成本
- 抢权机会
- 可转债抢权
- 转债配售
- 核准待发
- 待发转债
- 审批进度
- 发行预案
- 潜伏配债
- 配债管线
version: "2.1.0"
author: WorkBuddy
agent_created: true抢权配债 - 可转债抢权配售分析工具
技能概述
此技能用于分析 A 股可转债抢权配售机会。抢权配债是指在可转债发行前的股权登记日 买入正股,从而获得优先配售可转债的权利,上市后卖出转债获利。
核心价值:量化评估每个抢权机会的风险收益比,避免盲目抢权导致正股亏损超过转债收益。
何时使用
当用户出现以下意图时加载此技能:
- 询问近期有哪些可抢权的可转债 → 执行
scan - 想分析某只具体转债/正股的抢权价值 → 执行
detail - 想知道哪些抢权机会即将截止 → 执行
monitor - 询问核准待发/审批进度/发行预案/潜伏配债 → 执行
pipeline - 询问"百元含权""安全垫""配1手要多少股"等概念或计算 → 内联计算并解释
核心指标说明
| 指标 | 公式 | 含义 |
|---|---|---|
| 百元含权量 | 每股配售额 / 正股价 × 100 | 每投入100元买正股获得的配债权面值,越高越好 |
| 配1手需股数 | 1000 / 每股配售额 (沪市向上取整/深市取100倍数) | 配到1手(10张=1000元面值)转债需买入的正股数量 |
| 配债成本 | 配1手需股数 × 正股价 | 抢权的直接资金投入 |
| 安全垫 | 预估转债收益 / 配债成本 × 100% | 转债收益能覆盖正股多大跌幅,越高越安全 |
| 预估上市价 | 100 × (1 + 预估溢价率) | 基于评级/规模/平价的三档情景预估 |
| 综合评分 | 加权(安全垫50%+含权20%+评级15%+估值15%) | 0-100分,≥70积极考虑,50-70可关注 |
脚本使用
运行前准备
确认 requests 已安装。若未安装,执行:
pip install requests
三大命令
所有脚本位于技能目录下的 scripts/ 子目录。运行时需先 cd 到该目录,或使用绝对路径。
# 1. 扫描 — 列出近期所有抢权机会,按百元含权量降序
python scripts/main.py scan # 默认扫描30天内
python scripts/main.py scan --days 60 # 扫描60天内
# 2. 详情 — 单个标的深度分析(支持正股代码/转债代码/名称模糊匹配)
python scripts/main.py detail 001202 # 按正股代码
python scripts/main.py detail 127115 # 按转债代码
# 3. 监控 — 按登记日排序,标注紧急程度
python scripts/main.py monitor # 默认14天内
python scripts/main.py monitor --days 7 # 7天内截止的
# 4. 审批进度 — 查看可转债发行审批全流程(核准待发/审核中/预案)
python scripts/main.py pipeline # 全部审批阶段
python scripts/main.py pipeline approved # 仅核准待发
python scripts/main.py pipeline rights # 仅含老股东优先配售的(可抢权)
脚本输出解读
- scan 输出: 每个机会的关键指标一览表,用于快速筛选
- detail 输出: 包含发行信息、正股行情、波动率、配售计算、上市预估、收益风险、操作建议
- monitor 输出: 按截止紧急程度排序,!!!表示1天内、!!表示3天内
- pipeline 输出: 按审核状态分组,标注是否有老股东优先配售权(可抢权)
Agent 操作工作流
场景一:用户问"近期有什么抢权机会"
- 运行
python scripts/main.py scan --days 30 - 将输出整理为表格或列表呈现给用户
- 重点标注综合评分 ≥ 70 的机会
- 提醒用户关注登记日,避免错过
场景二:用户问"XX转债/XX股票能抢权吗"
- 运行
python scripts/main.py detail 代码 - 如果找不到,提示该转债可能不在近期发行计划中
- 将详细分析结果呈现给用户
- 根据综合评分给出明确建议(推荐/可参与/谨慎/不建议)
- 补充操作步骤和风险提示
场景三:用户问"哪些抢权机会快截止了"
- 运行
python scripts/main.py monitor --days 14 - 优先展示标记为紧急(1-3天内)的机会
- 提醒用户在登记日(T-1)收盘前完成买入
场景四:用户问概念或要求手动计算
不运行脚本,直接内联计算并解释:
- 百元含权 = 每股配售额 / 正股价 × 100
- 配1手需股数: 沪市 = ceil(1000 / 每股配售额),深市 = ceil(1000 / 每股配售额 / 100) × 100
- 安全垫 = 预估转债收益 / (需股数 × 正股价) × 100%
举例说明计算过程,帮助用户理解指标含义。
场景五:用户问"核准待发""待发转债""审批进度""潜伏配债"
- 运行
python scripts/main.py pipeline - 按审核状态分组呈现,重点标注核准待发的标的
- 标注哪些含"老股东优先配售"(可抢权),哪些仅"法人定向配售"(不可抢权)
- 如用户想看可抢权的,运行
python scripts/main.py pipeline rights - 提醒:核准待发阶段尚未公告每股配售额,无法计算百元含权和安全垫
- 如用户对某只标的感兴趣,可运行
detail <代码>查看正股行情(若该转债已进入发行流程)
决策标准
| 综合评分 | 建议 | 说明 |
|---|---|---|
| ≥ 70 | 强烈建议抢权 | 安全垫充足,性价比高 |
| 55-70 | 可以参与 | 有一定安全边际,建议控制仓位 |
| 40-55 | 谨慎参与 | 安全垫偏薄,注意正股波动风险 |
| 小于40 | 不建议 | 风险收益比不佳,不如直接打新 |
风险提示
向用户呈现分析结果时,务必附带以下风险提示:
- 正股下跌风险: T日(申购日)正股大概率低开,实际跌幅可能超过安全垫
- 上市时间不确定: 转债上市通常需2-4周,期间正股持续暴露在市场风险中
- 破发风险: 评级AA以下的转债存在破发可能,低评级不建议抢权
- 流动性风险: 小盘股买入卖出可能有较大冲击成本
- 数据时效性: 每股配售额在发行公告前可能未公布,此时无法计算
数据来源
- 可转债发行数据: 东方财富 datacenter API (
RPT_BOND_CB_LIST) - 正股实时行情: 东方财富 push2 API
- 历史K线: 东方财富 push2his API (用于波动率计算)
- 审批进度数据: 证券时报 info.stcn.com API (
/dc/sjb/zrz.jsp?loc=kzzya) - 关键字段:
FIRST_PER_PREPLACING(每股配售额)、jc(审核状态)、IssueMethod(发行方式)
详细 API 字段说明见 references/API.md。
脚本结构
scripts/
main.py CLI 入口 (scan / detail / monitor / pipeline)
data_fetcher.py 数据获取模块 (东方财富 API + 证券时报 API)
rights_calc.py 核心计算模块 (含权/安全垫/评分/溢价率估算)
references/
API.md API 字段与公式参考文档
更新日志
- v2.1.0: 新增 pipeline 命令,支持可转债发行审批进度查询(核准待发/交易所审核中/预案),数据来自证券时报 API;新增 6 个触发关键词
- v2.0.0: 重构目录结构(scripts/),修复死代码,增加波动率分析,完善 Agent 操作指引
- v1.0.0: 初始版本,支持扫描/详情/监控三大功能
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 直接解决A股可转债投资者抢权配债的核心痛点
- 提供量化分析工具,显著提升投资决策效率
- 覆盖抢权配债全流程,从扫描到监控到审批进度
Highlights
- 触发词精准完整,覆盖抢权配债全流程
- 边界清晰,不易误触或漏触
Highlights
- Phase/步骤清晰,有出口条件
- 含端到端示例,frontmatter完整
Highlights
- 工具来源明确,参数正确
- 覆盖主要异常,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 68
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.