tushare-index: Shenwan & Global Index Queries

SkillCommerce & finance

Use when querying Shenwan industry index (申万) daily data, sector constituents, or global market indices (S&P 500, Nikkei, HSI) using tushare-cli. Triggers on: 申万, 行业指数, 成分股, 全球指数.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the tushare-index: Shenwan & Global Index Queries skill

What this skill tells your AI

The instructions your AI receives, as published by oopslink/trading-skills in skills/tushare-index/SKILL.md and read by ahel’s review.

Commands

# Shenwan index daily data
tushare-cli index sw-daily --ts-code 801010.SI --start 20240101 --end 20240201

# List Shenwan codes by level
tushare-cli index classify           # all L1 codes
tushare-cli index classify --level 2 # L2 codes

# Constituent stocks of a Shenwan index
tushare-cli index sw-members --ts-code 801010.SI

# Global indices
tushare-cli index global

Key Shenwan L1 Codes

CodeSectorCodeSector
801010.SIAgriculture801080.SIElectronics
801020.SIMining801110.SIHome Appliances
801030.SIChemicals801140.SIRetail
801040.SISteel801160.SIPublic Utilities
801170.SITransportation801180.SIReal Estate
801200.SIFinance801210.SIBanks
801230.SINon-ferrous801750.SIComputers
801760.SIMedia801770.SITelecom
801780.SIFinancials801790.SINon-bank Finance
801880.SIAutos801890.SIMachinery

Common Workflow

All stocks in a sector

tushare-cli index sw-members --ts-code 801080.SI   # Electronics constituents

Signals

GitHub stars
177
Forks
23
Last commit
May 2026
Advanced
Item type
skill
Key
tushare-index
Source
github.com/oopslink/trading-skills