A-Share Candlestick Pattern Matcher
Paste the following prompt into your AI chat to install this skill:
Please install @user_2bda22ce/stockmatcher according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
In A-share technical analysis, the hard part is comparing a recent candlestick move against similar historical segments across the whole market. Manual screening is slow and hard to quantify, especially when estimating follow-through probability.
k线形态选股器 converts the target move into a daily return sequence, searches local data for similar historical windows, and outputs statistical references.
How it works
- Manual return input: use
--returnsto provide daily percentage changes for flexible full-market pattern search. - Stock code input: read the last
--windowtrading days for one stock, then match against the full market or its own history. - K-line screenshot extraction: extract the return sequence from a daily chart image to create a pattern query quickly.
Results include similarity, average return over the next --after days, and up-move probability, with visual comparison output. The main script uses East Money local data; the older script can use tushare, subject to API rate limits.
Boundaries
Pattern matching is probabilistic, not deterministic. Higher similarity gives stronger reference value, but a 70% up-move probability still leaves downside risk. Short windows have more noise, while 30-60 day windows are better for trend-level judgments. Suspended, recently listed, or data-thin stocks may be skipped; ST stocks may still appear in full-market searches.
Use Cases
- Review a stock's last 20 daily moves and search the full A-share market for similar historical windows with follow-through odds.
- Paste a target daily return sequence and scan the whole market for the most similar historical segments.
- Extract the recent move from a K-line screenshot and estimate average returns and up-move probability after similar patterns.
- Match a candidate stock's last 30-day trend against its own history to see how prior similar setups evolved.
Best For
- Technical traders reviewing short-term A-share patterns and estimating follow-through odds for similar historical moves.
- Research assistants organizing K-line screenshot candidates and needing quick similar historical segments.
- Quant researchers building local A-share backtests and turning target moves into similar historical samples.
- Stock analysts comparing a stock's recent 20-day trend against similar full-market setups.
Related Skills
Provides compliance self-check and remediation guidance for medical aesthetics and jewelry businesses, covering tax categories, invoicing, and private-account risk.
Covers literature review, data analysis, visualization, drug discovery, paper writing, and grant writing workflows.
A retrieval assistant for Chinese laws and regulations, supporting semantic queries, validity checks, clause location, and regulation comparison with CLI-based output.
Wraps the Tonghuashun finance data MCP service for querying stocks, funds, macro data, news, bonds, global stocks, and indices.