skillfed

technical-analysis

Compute technical indicators including RSI, MACD, Bollinger Bands, and moving averages for single or multiple stocks. Get buy/sell signals, crossover detection, volatility metrics, and Sharpe ratios across configurable time periods. Optionally include earnings data and correlation analysis for portfolio diversification.

Technical Analysis computes RSI, MACD, Bollinger Bands, and moving averages for stocks.

AI-generated summary based on this skill's SKILL.md

299 68 MIT updated by staskh

Install

staskh/trading_skills/technical-analysis · repository language: Python

git clone https://github.com/staskh/trading_skills
cp -r trading_skills/.claude/skills/technical-analysis ~/.claude/skills/technical-analysis
npx skillfed install staskh/trading_skills/technical-analysis

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What technical indicators does technical-analysis compute?

technical-analysis computes RSI, MACD, Bollinger Bands, and moving averages (SMA and EMA) for stock analysis. It also calculates volatility metrics, Sharpe ratios, and trend strength indicators like ADX. You can analyze single or multiple stocks across configurable time periods and get buy/sell signals from MACD and EMA crossovers.

How does technical-analysis identify buy/sell signals?

technical-analysis detects buy/sell signals through MACD crossover detection and EMA crossover analysis, including golden cross patterns like SMA 20/50 and EMA 9/21 crossovers. These signals help identify momentum shifts and potential entry/exit points for trading strategies.

Can technical-analysis assess overbought or oversold conditions?

Yes, technical-analysis assesses overbought and oversold conditions using RSI indicator readings and other momentum indicators. It evaluates trend strength through ADX and other metrics to help you understand market conditions and potential reversals.

Does technical-analysis support portfolio correlation analysis?

Yes, technical-analysis includes portfolio correlation analysis to help with diversification and hedging strategies. It can generate stock price correlation matrices and analyze correlation between multiple stocks, supporting informed portfolio construction decisions.

What risk metrics does technical-analysis calculate?

technical-analysis calculates risk-adjusted returns including Sharpe ratio and annualized volatility metrics. These help you evaluate risk-adjusted performance and understand the volatility profile of individual stocks or your entire portfolio.

Can technical-analysis include earnings data with indicators?

Yes, technical-analysis optionally incorporates earnings data alongside technical indicators, allowing you to correlate price movements and technical signals with earnings events for more comprehensive stock analysis.

SKILL.md

rendered from the published skill — quoted content, verbatim

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.

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 -

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 3 files
.claude/skills/technical-analysis/SKILL.md
.claude/skills/technical-analysis/scripts/correlation.py
.claude/skills/technical-analysis/scripts/technicals.py

Related skills

Tags

momentum-signals trend-confirmation overbought-oversold portfolio-correlation risk-adjusted-returns multi-symbol-analysis price-reversal-detection trading-signal-generation sector-comparison