By oopslink
Query A-share market data from the terminal: stocks, indices, sector rotation, financials, futures, and forex via tushare-cli, with optional real-time streaming and order placement through miniQMT/xtquant.
Operate miniQMT/xtquant via the miniqmt-cli tool -- market data queries, real-time streaming, account management, order placement with safety guards, daemon health checks, SSH tunnel management, and deployment to Windows. Use this skill whenever the user mentions miniqmt, miniQMT, xtquant, QMT trading, placing stock orders via CLI, checking positions or assets on a QMT account, streaming ticks or klines from QMT, deploying the trading daemon, or troubleshooting the miniqmt-cli daemon. Also use when the user asks about A-share programmatic trading via a CLI daemon architecture.
Analyze A-share money flow from tick-level data using the trading-analysis CLI, with both historical and real-time modes. Use this skill whenever the user mentions money flow, capital flow, main force inflow/outflow, institutional buying, tick-level analysis, order size classification (super-large/large/medium/small orders), real-time monitoring of capital flow, or wants to know whether smart money is buying or selling a stock. Also use when the user asks about 资金流向, 主力资金, 大单, 超大单, 散户, 逐笔分析, or 实时监控.
Use when performing sector rotation analysis, ranking Shenwan industry sectors by return or momentum, or building a sector strategy screen using tushare-cli. Triggers on: 行业轮动, 板块排名, 行业强弱, 动量, sector rotation.
Use when querying concept boards (概念板块), hot concept boards, board capital flow, board constituent stocks, or scanning for volume anomalies across boards using tushare-cli. Triggers on: 概念板块, 热点板块, 涨幅榜, 量能异动.
Use when fetching A-share company financial statements including income statement or balance sheet using tushare-cli. Triggers on: 财务报表, 利润表, 资产负债表, financial statements.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Comprehensive financial data CLI for Tushare Pro | 7+ trading skill modules | 52+ data tools | Production-ready
A professional-grade skill development and training project featuring comprehensive tools for financial data querying, analysis, and trading strategy development. Built with a modular skill architecture, complete CLI implementation, and extensive test coverage.
trading-skills/
├── skills/ # Trading skill modules (7 categories)
│ ├── tushare-stock/ # Stock trading fundamentals and techniques
│ ├── tushare-futures/ # Futures contracts and strategies
│ ├── tushare-index/ # Index data and analysis
│ ├── tushare-forex/ # Foreign exchange trading
│ ├── tushare-alpha/ # Alpha factor generation
│ ├── tushare-concepts/ # Key trading and financial concepts
│ └── tushare-financial/ # Financial statement analysis
├── tools/tushare_cli/ # CLI implementation
│ ├── src/ # Python package
│ │ └── tushare_cli/ # Main CLI code
│ │ ├── commands/ # Command modules by category
│ │ ├── api.py # Tushare API wrapper
│ │ ├── cache.py # Response caching layer
│ │ ├── config.py # Configuration management
│ │ ├── output.py # Output formatting (JSON, CSV, Table)
│ │ └── main.py # CLI entry point
│ └── pyproject.toml # Package configuration
├── tests/ # Test suite (992+ tests)
│ └── tushare_cli/ # CLI tests
│ ├── test_cache.py # Cache functionality tests
│ ├── test_commands_*.py # Command tests by category
│ ├── test_config.py # Configuration tests
│ ├── test_main.py # CLI entry point tests
│ └── test_output.py # Output format tests
└── docs/plans/ # Design and implementation plans
# Clone the repository
git clone git@github.com:oopslink/trading-skills.git
cd trading-skills
# Install the CLI in development mode
pip install -e tools/tushare_cli/
Get your token at Tushare Pro
# Option 1: Config file (recommended, persists across sessions)
tushare-cli config set-token YOUR_TOKEN
# Option 2: Environment variable
export TUSHARE_TOKEN=YOUR_TOKEN
# Option 3: Command-line flag
tushare-cli --token YOUR_TOKEN stock daily --ts-code 000001.SZ
If you want to use the trading skills in Claude Code:
/plugin marketplace add oopslink/trading-skills
/plugin install trading-skills@trading-skills
This will install all 7 trading skill modules, making them available as reference knowledge in Claude Code conversations.
# Get stock daily data
tushare-cli stock daily --ts-code 000001.SZ
# Get in JSON format
tushare-cli stock daily --ts-code 000001.SZ --format json
# Get with caching enabled
tushare-cli --cache stock daily --ts-code 000001.SZ
| Category | Skills | Commands | Data Tools |
|---|---|---|---|
| Stock | tushare-stock | 8+ commands | Daily, Adj, Weekly, Monthly, Quotes |
| Futures | tushare-futures | 7+ commands | Daily, Continuous, Margin |
| Index | tushare-index | 6+ commands | Daily, Weekly, Constituents |
| Forex | tushare-forex | 4+ commands | Daily, OHLC |
| Alpha | tushare-alpha | 5+ commands | Factors, Scoring, Backtesting |
| Concepts | tushare-concepts | 3+ commands | Concept Stocks, Updates |
| Financial | tushare-financial | 6+ commands | Income, Balance, Cashflow, Indicators |
# Daily prices for a stock
tushare-cli stock daily --ts-code 000001.SZ --start-date 20240101
# Weekly prices
tushare-cli stock weekly --ts-code 000001.SZ
npx claudepluginhub oopslink/trading-skills --plugin trading-skillsBaoStock A-share securities data API reference — 23 endpoints covering K-line, financials, macro, dividends, and industry classification with 9 documented pitfalls
A股量化交易 Skill - 使用 Tushare Pro 获取数据,Backtrader 进行回测
Shioaji Taiwan financial trading API guide. Covers Python native binding (sync/async), CLI tool, HTTP API server with SSE streaming, dashboard, and multi-language SDK integration (JS/TS, Go, C/C++, C#, Rust, Java/Kotlin) for TWSE/TPEX/TAIFEX markets.
金融量化框架
针对中国A股的行情与数据查询(基于本地 akshare 源代码与API映射)。当用户请求获取A股实时行情、历史K线(日/周/月)、分钟级分时(1/5/15/30/60)、复权数据(前复权/后复权)、股东户数(含详情)、以及巨潮资讯公告披露结果时使用本Skill。
Developer-first financial data for Claude — 150k+ tickers, 70+ exchanges, real-time & historical prices, fundamentals, options, technicals, news, sentiment, macro indicators, ESG, and more via EODHD API and MCP Server.