tushare-alpha

star 154

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.

oopslink By oopslink schedule Updated 3/4/2026

name: tushare-alpha description: 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.

tushare-alpha: Sector Rotation & Ranking

Commands

tushare-cli alpha rank-l1          --end-date 20240201   # L1 sector ranking
tushare-cli alpha rank-l2          --end-date 20240201   # L2 sector ranking
tushare-cli alpha rank-l1-velocity --end-date 20240201   # L1 momentum / velocity
tushare-cli alpha rank-l2-velocity --end-date 20240201   # L2 momentum / velocity
tushare-cli alpha rank-l1-full     --end-date 20240201   # L1 full detail
tushare-cli alpha sector-strategy  --sector-code 801010.SI --end-date 20240201

Common Workflows

Top 5 sectors by today's return

tushare-cli --format json alpha rank-l1 --end-date 20240201 | \
  jq 'sort_by(-.pct_chg) | .[:5]'

Momentum leaders (velocity ranking)

tushare-cli --format json alpha rank-l1-velocity --end-date 20240201 | \
  jq 'sort_by(-.velocity) | .[:5]'
Install via CLI
npx skills add https://github.com/oopslink/trading-skills --skill tushare-alpha
Repository Details
star Stars 154
call_split Forks 22
navigation Branch main
article Path SKILL.md
More from Creator