tushare-query: Setup & Overview

SkillCommerce & finance

Use when setting up tushare-cli token, choosing output formats, or getting an overview of available A-share market data query skills

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-query: Setup & Overview skill

What this skill tells your AI

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

Token Setup

tushare-cli config set-token <YOUR_TOKEN>
# or: export TUSHARE_TOKEN=<token>

Common Flags

FlagEffect
--format jsonJSON output (pipe to jq)
--format csvCSV output (redirect to file)
--cacheCache result within session

Format Tips

  • Date: always YYYYMMDD (e.g., 20240201)
  • ts_code: XXXXXX.SZ Shenzhen · XXXXXX.SH Shanghai · XXXXXX.SI Shenwan index
  • Best combo: --format json | jq 'sort_by(-.pct_chg) | .[:10]'

Skills by Domain

DomainSkill
Individual stocks, ETF, capital flowtushare-stock
Shenwan index, sector constituentstushare-index
Concept boards, volume anomalytushare-concepts
Sector rotation & rankingtushare-alpha
Financial statementstushare-financial
Futures contracts & holdingstushare-futures
Forex ratestushare-forex

Signals

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