a-share-scanner

Scan 5000+ A-share stocks with Tushare data and generate HTML and JSON reports.

37|4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/MerkyorLynn/Lynn --skill a-share-scanner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: a-share-scanner
Source: https://github.com/MerkyorLynn/Lynn/tree/main/skills2set/a-share-scanner
Command: npx skills add https://github.com/MerkyorLynn/Lynn --skill a-share-scanner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, pandas, and includes scripts (resource) components.

What problem does it solve?

It helps investors and analysts quickly screen the entire A-share universe by converting market data into an adaptive, factor-based selection and anomaly ranking, producing a readable report without manual spreadsheet work.

Core Features & Use Cases

  • Full-universe A-share screening: Scans 5000+ stocks and filters out ST/*ST, very low-priced, and low-liquidity candidates.
  • Market regime detection + adaptive factor weighting: Detects volatility, momentum, and money-flow bias, then dynamically adjusts factor weights for scoring.
  • Actionable outputs: Generates an HTML report (top picks, anomaly movers, sector distribution, and weight explanations) and a machine-readable JSON result for further analysis.

Quick Start

Run the full A-share scan to generate the HTML report by asking the AI to execute the command for a full scan.

Frequently Asked Questions about a-share-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I screen all A-shares using adaptive factor scores and generate an HTML report?▼

A-share stock screening with an adaptive factor model scans 5000+ listings via Tushare data, filtering out ST and low-liquidity stocks to produce selection rankings and anomaly detection in an HTML report.

How does market regime detection adjust momentum and valuation factor weights?▼

Market regime detection analyzes volatility, momentum, and money-flow bias to dynamically adjust factor weights, ensuring the adaptive model scores stocks based on current market conditions rather than static parameters.

Do I need a Tushare token to run the A-share scanner?▼

Yes, a Tushare Pro token is required to fetch market data for the 5000+ A-share listings, provided either as a passed token or via the TUSHARE_TOKEN environment variable.

Can I use this scanner for sector rotation analysis across the A-share universe?▼

Yes, the scanner supports sector rotation analysis by outputting industry distribution data alongside top picks and anomaly movers, helping you identify shifting sector momentum across the A-share universe.

What is included in the JSON output for quantitative factor monitoring?▼

The machine-readable JSON output contains top picks, anomaly rankings, industry distribution, and regime-driven factor weight explanations for further quantitative analysis and monitoring.

What are the limitations of using Tushare and pandas for full-universe stock screening?▼

The scanner relies on Tushare API data availability and automatically filters out ST, very low-priced, and low-liquidity stocks, meaning it may not suit strategies targeting distressed or illiquid A-share assets.