stock-value-scanner
Original:🇨🇳 Chinese
Translated
3 scriptsChecked / no sensitive code detected
Conduct stock anomaly scanning, value investment analysis and trend query
1installs
Added on
NPX Install
npx skill4agent add flying3615/my-skills-writer stock-value-scannerTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Stock Value Scanner Skill
Description
This is a comprehensive US stock analysis tool. It integrates Value Investment Scoring (based on metrics like P/E, ROE from Yahoo Finance), Trend Technical Analysis (historical pullback, moving average judgment), and Market Anomaly Scanning (price gain/loss rankings, popular trades). Whether you're looking for undervalued high-quality stocks or tracking hot market trends, this Skill provides data support.
Features
- Real-time Valuation Analysis: Automatically obtain core valuation indicators such as P/B, P/E, PEG (from Yahoo Finance).
- Stock Price Trend Analysis: View closing prices, historical high pullbacks, 52-week range and long-term moving average trends.
- Market Anomaly Scanning: Check real-time US stock gainers, losers and actively traded stocks.
- Quality Check: Automatically detect quality indicators like ROE, net profit margin to eliminate "junk stocks".
- Intelligent Scoring: Generate a comprehensive score of 0-6 based on Buffett's value investment logic.
Usage
Prerequisites:
- Must install the Python library :
yfinancepip install yfinance - No API Key required.
Example Prompts
- "Analyze the investment value of MARA"
- "Check the recent trend of AAPL"
- "Query how far NVDA is from its historical high"
- "Check today's US stock gainers list"
- "Which stocks are the most actively traded recently"
Execution
1. Value Analysis & Scoring
bash
python3 .gemini/skills/stock-value-scanner/scripts/scanner.py [SYMBOL]Or batch scan preset list:
bash
python3 .gemini/skills/stock-value-scanner/scripts/scanner.py --scan2. Stock Price Trend Query
bash
python3 .gemini/skills/stock-value-scanner/scripts/stock_price.py [SYMBOL]3. Market Anomaly Query
bash
python3 .gemini/skills/stock-value-scanner/scripts/market_movers.py --type [gainers|losers|active]Tips for the Agent
- Scenario Differentiation:
- When users ask about "worth buying", "fundamentals", "valuation" -> Use .
scanner.py - When users ask about "trend", "price movement", "historical high", "pullback", "moving average" -> Use .
stock_price.py - When users ask about "gainers list", "losers list", "popular", "anomaly", "market index" -> Use .
market_movers.py
- When users ask about "worth buying", "fundamentals", "valuation" -> Use
- When encountering the error , guide users to run
ImportError: No module named 'yfinance'.pip install yfinance - The execution result is a text report, which can be directly presented to users without excessive explanation.