a-share-skill
中文文档 / Chinese README: README.zh.md
A collection of A-share (China Shanghai/Shenzhen) data-analysis, trend-pullback strategy, and paper-trading skills for AI tools — built for stock analysis, quant trading, paper trading, and A-share workflows:
a-share-data: market data query and analysis
a-share-strategy-mainboard-multi-swing-defensive: main-board trend-pullback signals
a-share-strategy-allmarket-multi-swing-defensive: all-market trend-pullback signals
a-share-paper-trading: paper-trading execution and backtesting
You can simply ask your AI to:
- Look up a stock’s real-time quote, historical trend, technical indicators, events, and industry info
- Scan main-board or all-market candidates and review position exit signals
- Create a
calm1 paper-trading account, view account details and full trade history, and place simulated orders
- Combine the broad market, your holdings, and account status to decide whether to buy, sell, hold, or do nothing today
Paper Account: +40% in 2 Months
Apr 16 — account initialized with 1,000,000
|
Jun 17 — intraday +39.9%
Current holdings: ZTE, BOE A, WUS Printed Circuit, Jiemei Technology, Yongding, Voage Optoelectronics, LION Microelectronics, Boqian New Materials
|
Later update: The account saw a loss of about 30% during July and August, and its value fell to around 1.2 million. The figures above show the earlier June snapshot.
Four Core Skills
a-share-data
Good for questions like:
- How is this stock doing right now?
- What’s the trend over the last 60 days?
- Are there any event-driven catalysts?
- How are the CSI 300, hot sectors, and northbound capital doing right now?
Capabilities:
- Real-time quotes, historical K-line, technical indicators, events, industry, index, and macro data
Docs:
a-share-strategy-mainboard-multi-swing-defensive
Scans a liquid main-board stock pool for trend-pullback entry and position exit signals. See the skill guide.
a-share-strategy-allmarket-multi-swing-defensive
Uses the same signal rules across a liquid A-share pool that also includes ChiNext and STAR Market stocks. See the skill guide.
a-share-paper-trading
Good for tasks like:
- Create a
calm1 paper-trading account
- View
calm1 account details, positions, orders, and full trade history
- Place a simulated buy or sell order for
calm1
- Run a simple backtest
Capabilities:
- Account management, order placement, cancellation, positions, orders, fills, account valuation, and backtesting
Docs:
Quickest Examples
Query data: use a-share-data to check 600519’s latest quote, the last 60 daily candles, and MACD.
Scan trend pullbacks: run either strategy’s scripts/daily_decisions.py --json and review the filtered candidate lists.
Manage paper trading: use a-share-paper-trading to create calm1 with an initial balance of 1000000, then view calm1’s account details and full trade history.
Combined Usage
-
Data analysis
a-share-data
- Good for single-stock analysis, market-state monitoring, and batch data pulls
-
Strategy signals
a-share-data + a-share-strategy-mainboard-multi-swing-defensive or a-share-data + a-share-strategy-allmarket-multi-swing-defensive
- Good for candidate scans and position exit checks
-
Paper execution
a-share-data + a-share-strategy-mainboard-multi-swing-defensive + a-share-paper-trading
- Good for reviewing signals and then executing simulated trades on
calm1
Installation
The examples below include all four skills.
Codex
mkdir -p ~/.agents/skills
cp -R a-share-data ~/.agents/skills/
cp -R a-share-strategy-mainboard-multi-swing-defensive ~/.agents/skills/
cp -R a-share-strategy-allmarket-multi-swing-defensive ~/.agents/skills/
cp -R a-share-paper-trading ~/.agents/skills/
Cursor
mkdir -p ~/.cursor/skills
cp -R a-share-data ~/.cursor/skills/
cp -R a-share-strategy-mainboard-multi-swing-defensive ~/.cursor/skills/
cp -R a-share-strategy-allmarket-multi-swing-defensive ~/.cursor/skills/
cp -R a-share-paper-trading ~/.cursor/skills/
Claude Code
mkdir -p ~/.claude/skills
cp -R a-share-data ~/.claude/skills/
cp -R a-share-strategy-mainboard-multi-swing-defensive ~/.claude/skills/
cp -R a-share-strategy-allmarket-multi-swing-defensive ~/.claude/skills/
cp -R a-share-paper-trading ~/.claude/skills/
Qoder
mkdir -p ~/.qoder/skills
cp -R a-share-data ~/.qoder/skills/
cp -R a-share-strategy-mainboard-multi-swing-defensive ~/.qoder/skills/
cp -R a-share-strategy-allmarket-multi-swing-defensive ~/.qoder/skills/
cp -R a-share-paper-trading ~/.qoder/skills/
If you use OpenCode, openclaw, or another AI tool that supports skills, just replace the path with that tool’s skills directory.
Documentation
Other Skills
References
Data contract and industry updates: 数据口径与行业扩展.
评论