Tushare Data
zillionare/zillionare
面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。
Builds event-driven analysis for A-share companies: merger arbitrage spreads, shareholder buying and selling signals, equity incentives, placements and ST or delisting warnings; Chinese text.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/Vibe-Trading corporate-events --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/corporate-events .claude/skills/corporate-events && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .claude/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-eventsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/Vibe-Trading corporate-events --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent/src/skills/corporate-events .agents/skills/corporate-events && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .agents/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/Vibe-Trading corporate-events --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent/src/skills/corporate-events .cursor/skills/corporate-events && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .cursor/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/Vibe-Trading.git --path agent/src/skills/corporate-events--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/Vibe-Trading corporate-events --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent/src/skills/corporate-events .gemini/skills/corporate-events && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .gemini/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/Vibe-Trading corporate-eventsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent/src/skills/corporate-events .github/skills/corporate-events && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .github/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill corporate-events -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/Vibe-Trading corporate-events --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent/src/skills/corporate-events .opencode/skills/corporate-events && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "corporate-events" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/corporate-events into .opencode/skills/corporate-events/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "corporate-events", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
corporate-eventsBuilds event-driven analysis for A-share companies: merger arbitrage spreads, shareholder buying and selling signals, equity incentives, placements and ST or delisting warnings; Chinese text.
Event-driven strategies rest on the idea that corporate announcements carry new information the market digests slowly, leaving systematic excess returns around the event. This skill covers merger and restructuring arbitrage in A-shares, including how to compute the spread and its annualized return, the conditions for spin-offs, signals from major shareholder and executive buying or selling, and how to read equity incentive terms. The instructions are written in Chinese.
It also covers private placements, rights issues and exchangeable bonds, the ST and delisting warning rules with an avoidance strategy, and an event calendar of trading windows before and after an announcement. A report layout is given, and a notes section warns about slow third-party data, insider trading risk around announcements, overlapping events, the effect of the registration system, tushare data lags and capping a single event strategy at 10% of the position. The code needs pandas and numpy.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8e43007. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
A-Share Corporate Event Analysis loads about 1.1k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 102 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HKUDS/Vibe-Trading at commit 8e43007, republished under its MIT licence (© HKUDS). 102 words, ~1,058 tokens.
.claude/skills/corporate-events/SKILL.md (or your agent's skills folder).通过公司层面的重大事件(并购、增减持、股权激励、再融资等)构建事件驱动交易策略。核心逻辑:事件公告包含增量信息,市场消化需要时间,事件前后存在系统性超额收益。
适用场景:
A股并购特色:
| 类型 | 频率 | 超额收益 | 风险 |
|---|---|---|---|
| 借壳上市 | 低(注册制后减少) | 高(30-100%) | 极高(审批失败) |
| 资产注入 | 中 | 中(10-30%) | 高(估值/审批) |
| 吸收合并 | 低 | 低(5-15%) | 低(已达协议) |
| 要约收购 | 低 | 低(3-8%) | 最低 |
价差计算:
并购套利价差 = (要约价 - 当前价) / 当前价
年化收益 = 价差 / 预计完成时间(年)
示例:
A公司要约收购B公司, 要约价25元, B当前股价23.5元
价差 = (25 - 23.5) / 23.5 = 6.38%
预计3个月完成, 年化 = 6.38% × 4 = 25.5%
风险评估:
审批确定性: 已获商务部/证监会预审 → 高确定性
对价方式: 现金 > 股票+现金 > 纯股票 (确定性递减)
交易条件: 是否有MAC条款(重大不利变化)A股并购套利要点:
A股分拆上市条件:
- 上市满3年
- 子公司净利润 ≥ 母公司净利润10%
- 子公司净资产 ≤ 母公司净资产30%
交易策略:
预案公告 → 买入母公司(分拆预期提升估值)
子公司上市 → 择机卖出母公司(利好兑现)
实例:
2023年某科技公司分拆子公司至科创板
预案公告后母公司20日涨幅18%
子公司上市首日后母公司回调8%增持信号(看多):
| 信号强度 | 条件 | 超额收益(20日) |
|---|---|---|
| 强 | 控股股东增持 > 总股本1% | +8~12% |
| 中 | 高管集体增持(≥3人) | +5~8% |
| 弱 | 单一董事/监事增持 | +2~4% |
减持信号(看空):
| 信号强度 | 条件 | 超额收益(20日) |
|---|---|---|
| 强 | 控股股东计划减持 > 总股本2% | -5~10% |
| 中 | 解禁后首次减持 | -3~6% |
| 弱 | 高管离职减持 | -2~4% |
关键窗口期:
- 公告前6个月: 内幕交易高发区,异常放量可能是先知资金
- 公告后3日: 信息冲击最大
- 公告后20日: 超额收益基本消化
过滤规则:
排除: 被动减持(质押平仓)、大宗交易折价减持(可能是换手不是看空)
保留: 竞价减持(真正看空)、增持后短期再减持(反向信号)关键要素:
1. 行权价/授予价: 相对当前股价的折价率
折价 > 50% → 激励力度大但可能摊薄严重
折价 < 20% → 管理层对股价有信心
2. 解锁条件: 业绩目标是否有挑战性
例: "未来3年净利润复合增长率≥20%"
vs 行业平均增长率10% → 条件较高 → 正面信号
3. 激励对象: 核心技术人员占比
核心技术人员 > 50% → 绑定核心人才 → 正面
纯管理层 → 可能是利益输送
4. 股份来源:
定向增发 → 摊薄每股收益
回购 → 不摊薄,更正面
5. 等待期/解锁期:
等待期1年+解锁期3年 → 标准方案
等待期短+解锁条件低 → 利益输送嫌疑
A股实证:
激励方案公告后60日平均超额收益: +6.2%
解锁条件超预期的: +10.5%
行权价接近当前价的: +8.3%
首次推出激励 > 再次推出: 超额收益更高定增(定向增发):
事件时间线:
预案公告 → 股东大会 → 证监会审批 → 发行 → 解禁
交易节点:
1. 预案公告日: 关注折价率和募资用途
折价率 = (当前价 - 发行底价) / 当前价
折价率 > 20% → 利好(机构愿意折价买入 = 看好)
2. 发行前: 定增对象有动力维护股价(锁定价格)
公告后到发行前通常有正超额收益
3. 解禁日: 定增股份解禁 → 卖压
解禁前20日平均跌幅3-5%
解禁后20日继续承压
募资用途评分:
并购优质资产: +3分
扩产/新项目: +2分
补充流动资金: 0分 (中性偏负)
偿还债务: -1分
大股东认购比例 > 50%: +2分 (利益绑定)可交债(EB):
可交换债券 = 大股东以持有股份为担保发行的债券
换股价 = 发行时约定的换股价格
当股价 > 换股价 × 130% → 投资者倾向换股 → 相当于大股东减持
当股价 < 换股价 × 70% → 投资者持有债券 → 大股东用低利率融资
交易信号:
发行可交债 = 大股东可能计划减持,但比直接减持更温和
临近换股期+股价接近换股价 → 关注大股东是否有意让股价突破换股价ST标记规则(2024新规):
*ST (退市风险警示):
- 最近一年净利润为负 + 营收 < 3亿(主板)/ 1亿(创业板)
- 审计意见: 无法表示/否定
- 财务造假
ST (其他风险警示):
- 资金占用
- 违规担保
- 内控审计否定意见
退市条件:
- 连续20个交易日收盘市值 < 3亿(主板)/ 5亿(创业板/科创板)
- 连续20个交易日股价 < 1元
- 财务类: *ST后下一年仍不达标交易策略:
规避策略(推荐):
- 持仓中排除所有ST/*ST
- 排除 "最近一季度亏损 + 营收下滑 > 30%" 的潜在ST股
- 排除审计机构出具保留意见的
投机策略(高风险,仅供研究):
摘帽概念: *ST公司业绩扭亏 → 申请摘帽 → 涨停潮
条件筛选:
- 最近一季度盈利(扭亏拐点)
- 有实质性资产重组/债务重组方案
- 市值 > 10亿(远离面值退市线)
风控: 仓位 < 5%, 止损 -15%T-30 至 T-1(事前窗口):
增持/回购预案 → 逐步建仓
并购预案 → 评估确定性后建仓
T(公告日):
利好事件 → 集合竞价追入(注意涨停封单量)
利空事件 → 开盘前挂单卖出
T+1 至 T+20(事后窗口):
信息逐步消化,超额收益递减
大事件(并购/重组): 消化期可达60天
小事件(增持/回购): 20天基本消化
T+N(长期效应):
股权激励解锁期前后: 管理层有动力维护股价
定增解禁日: 确定性卖压事件驱动分析报告:
=== 事件概况 ===
标的: 000001.SZ 平安银行
事件: 控股股东增持计划公告
日期: 2026-03-25
增持规模: 10-20亿元 (占总股本0.8%-1.6%)
=== 信号评估 ===
信号强度: 强 (控股股东+金额大)
历史参考: 同类事件20日平均超额+8.2%
确定性: 高 (已公告增持计划, 6个月窗口期)
=== 策略建议 ===
操作: 公告次日开盘建仓
仓位: 5-8% (单事件上限)
持有期: 20-30个交易日
止损: -5% (低于公告日收盘价5%)
止盈: +12% 或 持有期满
=== 风险提示 ===
- 市场系统性下跌可能抵消事件效应
- 增持进度不及预期 → 关注月度增持公告
- 银行板块整体估值压制 → 超额收益可能偏低pip install pandas numpy© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agent/src/skills/corporate-events of HKUDS/Vibe-Trading.
Open the folder on GitHubat commit 8e43007
A-Share Corporate Event Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| A-Share Corporate Event Analysis this skillHKUDS/Vibe-Trading | 35k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Tushare Datazillionare/zillionare | 322 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Stock Deep Analysis Workflowwbh604/UZI-Skill | 7.1k | — | ~9.1k | Automated safety check: Notes | MIT | |
| Supply Chain Bottleneck Hunterxbtlin/ai-berkshire | 17k | — | ~2.6k | Automated safety check: Pass | MIT | |
| A-Share Daily Reviewqusong0627/QuantMind | 1.7k | — | ~1.9k | Automated safety check: Pass | AGPL-3.0 | |
| Futu OpenAPI Market and Trading Assistantqusong0627/QuantMind | 1.7k | — | ~3.3k | Automated safety check: Notes | AGPL-3.0 |
zillionare/zillionare
面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。
wbh604/UZI-Skill
Runs a staged deep analysis of a single stock on China A-share, Hong Kong and US markets, ending in an HTML report with valuation models and investor-panel scores.
xbtlin/ai-berkshire
Scans a long-running industry trend for supply chain chokepoints, aiming to find second- and third-layer suppliers that the market has not yet priced in.
qusong0627/QuantMind
Produces a post-market review report for the China A-share market from local QuantDB data, news sentiment and model signals, ending in a next-day direction call.
qusong0627/QuantMind
Queries Futu quotes, options, fundamentals and accounts and places orders through the Futu OpenAPI Python SDK, defaulting to simulated trading.
Geeksfino/finskills
Free Python scripts that fetch US stock data, SEC filings, insider trades and macro indicators, and run financial score calculators and portfolio analytics.
HKUDS/Vibe-Trading
Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.
HKUDS/Vibe-Trading
Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.
HKUDS/Vibe-Trading
Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.
HKUDS/Vibe-Trading
Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.
HKUDS/Vibe-Trading
Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.
HKUDS/Vibe-Trading
Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.
Categories
Builds event-driven analysis for A-share companies: merger arbitrage spreads, shareholder buying and selling signals, equity incentives, placements and ST or delisting warnings; Chinese text. Event-driven strategies rest on the idea that corporate announcements carry new information the market digests slowly, leaving systematic excess returns around the event. This skill covers merger and restructuring arbitrage in A-shares, including how to compute the spread and its annualized return, the conditions for spin-offs, signals from major shareholder and executive buying or selling, and how to read equity incentive terms.
A-Share Corporate Event Analysis fits situations like: calculating the spread on an A-share merger or takeover bid; reading the signal in a major shareholder's buying or selling plan; evaluating a private placement or rights issue; screening a portfolio for ST and delisting risk.
Run `npx skills add HKUDS/Vibe-Trading --skill corporate-events -a claude-code`. Or copy the skill folder (agent/src/skills/corporate-events in HKUDS/Vibe-Trading) into .claude/skills/corporate-events in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/Vibe-Trading --skill corporate-events -a codex`. Or copy the skill folder (agent/src/skills/corporate-events in HKUDS/Vibe-Trading) into .agents/skills/corporate-events in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill corporate-events -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corporate-events, .gemini/skills/corporate-events, .github/skills/corporate-events and .opencode/skills/corporate-events in your project.
Going by SKILL.md and its folder, A-Share Corporate Event Analysis needs the command-line tools its instructions call (pip). Our summary lists: Python with pandas and numpy.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
A-Share Corporate Event Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with A-Share Corporate Event Analysis: Tushare Data (zillionare/zillionare, 322 stars), Stock Deep Analysis Workflow (wbh604/UZI-Skill, 7.1k stars), Supply Chain Bottleneck Hunter (xbtlin/ai-berkshire, 17k stars) and A-Share Daily Review (qusong0627/QuantMind, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 35,163 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 10, 2026.
Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.