From trading-skills
Guides setup of tushare-cli token, output formats, and lists available A-share market data query skills for stocks, indices, financials, futures, and forex.
How this skill is triggered — by the user, by Claude, or both
Slash command
/trading-skills:tushare-queryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
tushare-cli config set-token <YOUR_TOKEN>
# or: export TUSHARE_TOKEN=<token>
| Flag | Effect |
|---|---|
--format json | JSON output (pipe to jq) |
--format csv | CSV output (redirect to file) |
--cache | Cache result within session |
YYYYMMDD (e.g., 20240201)XXXXXX.SZ Shenzhen · XXXXXX.SH Shanghai · XXXXXX.SI Shenwan index--format json | jq 'sort_by(-.pct_chg) | .[:10]'| Domain | Skill |
|---|---|
| Individual stocks, ETF, capital flow | tushare-stock |
| Shenwan index, sector constituents | tushare-index |
| Concept boards, volume anomaly | tushare-concepts |
| Sector rotation & ranking | tushare-alpha |
| Financial statements | tushare-financial |
| Futures contracts & holdings | tushare-futures |
| Forex rates | tushare-forex |
npx claudepluginhub oopslink/trading-skills --plugin trading-skillsFetches A-share market data, financials, and macro indicators via Tushare API. Provides scripts for daily K-line, income statements, and index data. Requires Tushare token.
Queries A-share individual stock data including price history, real-time quotes, capital flow, shareholders, block trades, pledges, ETF, and sector health via tushare-cli.
A股量化交易指南,使用 Tushare Pro 获取数据,Backtrader 进行回测。当用户需要进行A股量化分析、回测策略、获取股票数据时使用此 skill。遇到不确定的接口必须用 context7 查询官方文档。