a-share-skill

中文文档 / Chinese README: README.zh.md

A collection of A-share (China Shanghai/Shenzhen) data-analysis 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-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
  • 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

Trend-Pullback Strategies

a-share-strategy-mainboard-multi-swing-defensive (main-board trend pullback) and a-share-strategy-allmarket-multi-swing-defensive (all-market trend pullback) are not open-sourced for now.

For daily trading ideas, candidate scans, and position management, follow my Xiaohongshu (RED) account below — I keep posting updates there.

Paper Account: +40% in 2 Months

Two 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-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.
  • 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
  • Paper execution

    • a-share-data + a-share-paper-trading
    • Good for pulling data to form a view first, then executing simulated trades on calm1

Installation

The examples below include the two core skills: a-share-data and a-share-paper-trading.

Codex

mkdir -p ~/.agents/skills
cp -R a-share-data ~/.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-paper-trading ~/.cursor/skills/

Claude Code

mkdir -p ~/.claude/skills
cp -R a-share-data ~/.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-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

  • macd-second-golden-cross

    • Good for spotting repair-type setups like "MACD bullish divergence + a second golden cross below the zero axis"
  • macd-trend-resonance-stock-picker

    • Good for "moving averages set the direction, MACD sets the rhythm" trend-resonance stock picking
  • tuige-shortline-trading

    • Good for short-line trigger / invalidation / risk / position_grade decisions

References