Yahoofi info signal
skills for doing stock analysis
npx -y skills add limit881010/stocks --skill yahoofi-info-signalAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Analyzes stock data and generates technical signals using Yahoo Finance. Use when the user asks for analysis of a specific stock ticker using this specific tool, or asks for "yahoo stock analysis" or mentions "get_info" or "signal" scripts. Provides RSI, MACD, MA, and simple trend signals.
SKILL.md
1.8 KB, as published. Nobody here has run it
Yahoo Stock Analysis Skill
Overview
This skill uses Yahoo Finance (yfinance) to fetch historical stock data and calculates technical indicators to provide a snapshot analysis and trading signals.
Capabilities
- Market Data: Current price, target price, analyst rating.
- Valuation: PE, P/B, PEG, EPS.
- Financials: Margins (Gross, Operating), ROE, ROA, Debt/Equity.
- Technical Indicators:
- Moving Averages (MA10, MA20, MA50)
- MACD (Moving Average Convergence Divergence)
- RSI (Relative Strength Index)
- Volume Analysis
- Signals: Generates buy/sell/hold signals based on MA crossover, RSI levels, and MACD.
Usage
Run the analyze.py script with a ticker symbol.
Analyze a Stock
To analyze a stock (e.g., NVIDIA):
python scripts/analyze.py NVDA
To analyze a Taiwan stock (e.g., TSMC):
python scripts/analyze.py 2330.TW
Output Interpretation
The script outputs two main sections:
- Fundamental & Data Overview: A table of valuation, financial, and basic price data.
- Technical Analysis:
- Recent 10 days of price and indicator values.
- Trend Analysis: Bullish/Bearish based on MA alignment.
- Signals: MACD Golden/Death Cross, RSI Overbought/Oversold.
- Volume: Analysis of volume trends relative to 20-day average.
Requirements
- Python 3.x
yfinancepandasnumpy
(Note: Ensure these packages are installed in the environment)