← Back to Skills Marketplace
zhaoteng-qd

可转债打新助手

by zhaoteng-qd · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
316
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install convertible-bond-assistant
Description
可转债打新助手 - 免费工具。提供可转债申购日历、新债分析、上市溢价预测、中签率查询、强赎下修提醒。适用于 A 股可转债投资者。
README (SKILL.md)

可转债打新助手

一个免费的可转债投资辅助工具,提供申购日历、新债分析、溢价预测等功能。

版本: 1.0.0
许可证: MIT
定价: 免费(引流工具)


🎯 核心功能

1. 打新日历

  • 可申购新股列表(今日、明日、本周)
  • 申购代码、申购上限
  • 中签缴款提醒

2. 新债分析

  • 发行规模、转股价格
  • 债券评级(AAA/AA+/AA 等)
  • 正股基本面分析
  • 行业对比

3. 上市溢价预测

  • 基于同行业转债对比
  • 基于正股估值分析
  • 历史数据回测准确率

4. 中签率查询

  • 历史中签率统计
  • 申购户数分析
  • 单账户中签概率

5. 强赎/下修提醒

  • 强赎条件监控
  • 下修公告推送
  • 回售条款提示

6. 已上市转债追踪

  • 实时价格
  • 转股溢价率
  • 到期收益率

🚀 使用方式

快速开始

# 安装依赖
pip3 install requests pandas beautifulsoup4

# 运行主程序
python3 main.py

触发词

  • "可转债打新"
  • "新债申购"
  • "转债分析"
  • "可转债日历"
  • "强赎提醒"

📁 目录结构

convertible-bond-assistant/
├── SKILL.md                      # 技能说明
├── main.py                       # 主入口
├── cb_calendar.py                # 打新日历
├── cb_analysis.py                # 新债分析
├── cb_premium_predict.py         # 溢价预测
├── cb_monitor.py                 # 监控提醒
├── data/
│   └── cb_history.csv            # 历史数据缓存
└── references/
    ├── API.md                    # 数据源说明
    └── USER_GUIDE.md             # 用户指南

📊 功能示例

查询今日可申购转债

from cb_calendar import get_today_subscribable

result = get_today_subscribable()
print(result)

输出示例:

今日可申购转债 (2026-03-07):
1. 赛龙转债 (123205)
   - 发行规模:7.5 亿元
   - 评级:AA-
   - 申购上限:100 万
   - 正股:赛龙科技 (300xxx)
   
2. 恒泰转债 (123206)
   - 发行规模:10 亿元
   - 评级:AA
   - 申购上限:100 万
   - 正股:恒泰股份 (600xxx)

新债分析

from cb_analysis import analyze_new_cb

result = analyze_new_cb("123205")
print(result)

输出示例:

赛龙转债 (123205) 分析:
- 发行规模:7.5 亿(小规模,易炒作)
- 转股价格:15.23 元
- 正股 PE:25 倍(行业中低)
- 行业:汽车零部件
- 评级:AA-
- 预测上市溢价:25-35%
- 建议:积极申购

🔌 数据源

数据类型 来源 更新频率
发行公告 巨潮资讯 实时
申购日历 东方财富 每日
行情数据 新浪财经 实时
历史数据 集思录 每日

⚙️ 配置说明

数据缓存配置

编辑 main.py:

CACHE_EXPIRE_MINUTES = 30  # 缓存有效期

提醒配置

编辑 cb_monitor.py:

ALERT_THRESHOLD = {
    'premium_rate': 30,  # 溢价率超过 30% 提醒
    'strong_redemption': True,  # 强赎提醒
    'downward_revision': True,  # 下修提醒
}

📝 更新日志

v1.0.0 (2026-03-07)

  • 初始版本发布
  • 支持打新日历查询
  • 支持新债基础分析
  • 支持溢价预测
  • 支持强赎/下修监控

🙏 致谢

  • 东方财富网提供公开数据
  • 集思录提供社区参考
  • OpenClaw 提供自动化平台

📬 反馈

欢迎提交问题和建议!

作者: Your Name
邮箱: [email protected]

Usage Guidance
This skill appears to be what it says: a small Python tool that fetches public market data and runs local analysis. Before installing/running: 1) Review and fix the obvious bug in cb_calendar.parse_dongfangcai_data (syntax error) and any TODOs; 2) run it in a restricted environment (virtualenv / container) and install dependencies via pip from PyPI; 3) be aware it fetches data from public finance websites — check those sites' terms of use and rate limits; 4) optional third‑party services mentioned (Tushare, akshare, jisilu) may require tokens or logins — do not supply secrets unless you understand where they are used; 5) if you will publish or run autonomously, add error handling and limits to network requests to avoid unexpected scraping behavior.
Capability Analysis
Type: OpenClaw Skill Name: convertible-bond-assistant Version: 1.0.0 The skill bundle is a legitimate investment assistant tool for A-share convertible bonds, providing features such as subscription calendars, bond analysis, and premium prediction. The code primarily uses mock data with placeholders for standard financial APIs (e.g., EastMoney, Sina Finance) and lacks any indicators of data exfiltration, malicious execution, or harmful prompt injection. Key files include main.py for CLI interaction and cb_calendar.py for data retrieval.
Capability Assessment
Purpose & Capability
Name/description (可转债打新助手) match the included Python code and the declared runtime needs (python3, requests/pandas/beautifulsoup4). The modules implement calendar, analysis, premium prediction and monitoring — all aligned with the stated features. No unexpected binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md instructs users to pip install common Python libs and run main.py. The code contains network calls (requests) to public finance sites (EastMoney, Sina, CNINFO, Jisilu) which matches the data-sourcing described. There are no instructions to read unrelated system files or exfiltrate secrets. Note: some functions are placeholders/TODOs and one parsing function contains a syntax bug (parse_dongfangcai_data), so runtime failures are likely until fixed.
Install Mechanism
There is no automated install spec in the registry entry (no downloads or extract steps). SKILL.md suggests installing Python packages via pip, which is normal and low-risk. No remote, untrusted binary downloads or obscure URLs are used by the install process.
Credentials
The skill declares no required environment variables or credentials. References mention optional services (Tushare, jisilu) that may require tokens, but these are not required by the included code. The skill does perform network requests to public data sources — expected for its purpose and proportionate.
Persistence & Privilege
The skill does not request always:true or other elevated persistent privileges. It writes/reads a local cache path (data/cb_history.csv) only, which is reasonable for caching historical data. It does not modify other skills or system-wide configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install convertible-bond-assistant
  3. After installation, invoke the skill by name or use /convertible-bond-assistant
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Convertible Bond Assistant v1.0.0 - Initial release of the convertible-bond-assistant skill. 免费可转债投资工具 - 申购日历、新债分析、溢价预测、强赎提醒
Metadata
Slug convertible-bond-assistant
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 可转债打新助手?

可转债打新助手 - 免费工具。提供可转债申购日历、新债分析、上市溢价预测、中签率查询、强赎下修提醒。适用于 A 股可转债投资者。 It is an AI Agent Skill for Claude Code / OpenClaw, with 316 downloads so far.

How do I install 可转债打新助手?

Run "/install convertible-bond-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 可转债打新助手 free?

Yes, 可转债打新助手 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 可转债打新助手 support?

可转债打新助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 可转债打新助手?

It is built and maintained by zhaoteng-qd (@zhaoteng-qd); the current version is v1.0.0.

💬 Comments