technical-analysis

Solid

Compute technical indicators like RSI, MACD, Bollinger Bands, SMA, EMA for a stock. Use when user asks about technical analysis, indicators, RSI, MACD, moving averages, overbought/oversold, or chart analysis.

AI & Automation 299 stars 68 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
82
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Technical Analysis Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data. ## Instructions > **Note:** If `uv` is not installed or `pyproject.toml` is not found, replace `uv run python` with `python` in all commands below. ```bash uv run python scripts/technicals.py SYMBOL [--period PERIOD] [--indicators INDICATORS] [--earnings] ``` ## Arguments - `SYMBOL` - Ticker symbol or comma-separated list (e.g., `AAPL` or `AAPL,MSFT,GOOGL`) - `--period` - Historical period: 1mo, 3mo, 6mo, 1y (default: 3mo) - `--indicators` - Comma-separated list: rsi,macd,bb,sma,ema,atr,adx (default: all) - `--earnings` - Include earnings data (upcoming date + history) ## Output Single symbol returns: - `price` - Current price and recent change - `indicators` - Computed values for each indicator - `risk_metrics` - Volatility (annualized %) and Sharpe ratio - `signals` - Buy/sell signals based on indicator levels - `earnings` - Upcoming date and EPS history (if `--earnings`) Multiple symbols returns: - `results` - Array of individual symbol results ### Crossovers - `indicators.macd.crossover` - Most recent MACD line/signal crossover, or `null`: - `direction` - `"up"` (MACD crossed above signal = bullish) or `"down"` (crossed below = bearish) - `days_ago` - Trading bars since the crossover (0 = happened on the most recent bar) - `indicators.ema.crossover` - Most recent EMA9/EMA21 crossover (same shape; `null` if none). `indicators.ema` also repor...

Details

Author
staskh
Repository
staskh/trading_skills
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category