AI Zhangle Conditional Stock Selection
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_d9eea1c5/zhangle-select-stock.
About this skill
Problem
When writing conditional stock-screening logic, users often mix natural-language requests like “baijiu sector, P/E below 20, MACD bottom divergence, gain above 5%, earnings surprise.” Hitting the backend directly can miss OR/AND relationships, relative dates, implied sorting, numeric units, exclusions, and “continuous vs cumulative” semantics. This skill turns a natural-language screening intent into one executable query and returns a stable Markdown candidate list.
How It Works
- Triggering: sector/theme, financial metrics, technical metrics, market data, earnings surprises, combined conditions, and subjective requests such as “recommend a few stocks.”
- First query: pass the user’s original sentence as
querytoselectStock, without pre-rewriting, to preserve intent. - Rewrite retry: if the first call returns no result, disambiguate. Multiple values in the same dimension are usually “or”; cross-dimension conditions such as sector, P/E, and gain are usually “and.” Add relative dates, units, sort fields, top-N limits, and exclusion rules.
- Output constraints: return
data.resultin Markdown without changing its format, and show at most 10 instruments. - Error handling: distinguish
networktransient issues frombusinessrestrictions byerror.category.
Boundaries
Use it for “screening a list of instruments that meet criteria,” not individual stock diagnosis, valuation analysis, portfolio diagnosis, or buy/sell advice. It depends on HT_APIKEY, with optional SELECT_STOCK_SERVICE_URL and SELECT_STOCK_TIMEOUT_SEC. It is designed to execute directly without repeatedly asking follow-up questions, so ambiguous requests are inferred and completed rather than manually confirmed item by item.
Use Cases
- Before the morning meeting, screen semiconductors with gain over 3% and turnover over 8% into a shortlist.
- While studying earnings themes, pull a list using Q1 earnings surprises and net profit growth above 30%.
- During technical review, screen candidates using MACD bottom divergence or moving-average golden cross.
- When combining strategy conditions, encode sector, P/E, and main inflow query and generate the result.
Best For
- Quant researchers who need to convert natural-language screening conditions into a candidate list.
- Investment advisors who need to filter a watchlist by sector, fundamentals, and technical conditions.
- Financial app developers who need to integrate conditional stock screening into an Agent.
- Skill maintainers who map natural-language conditions to selectStock queries.
Related Skills
Switch AI from a polite executor into a skeptical thinking partner, using assumption checks, pre-mortems, and evidence gates to expose weak ideas early.
Applies research discipline, data lookup, evidence grading, red-team checks, and structured reporting to analyze AI company investment logic.
Uses Qichacha or Tianyancha MCP data and public information to score corporate credit across 12 dimensions and output a Markdown risk report.
Calculates personal injury compensation via CLI and outputs case summary, standards, line items, sources, and risk notes.