technical-analysis

Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "technical-analysis" with this command: npx skills add staskh/trading_skills/staskh-trading-skills-technical-analysis

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

  • Buy/sell signals based on indicator levels

  • earnings

  • Upcoming date and EPS history (if --earnings )

Multiple symbols returns:

  • results
  • Array of individual symbol results

Interpretation

  • RSI > 70 = overbought, RSI < 30 = oversold

  • MACD crossover = momentum shift

  • Price near Bollinger Band = potential reversal

  • Golden cross (SMA20 > SMA50) = bullish

  • ADX > 25 = strong trend

  • Sharpe ratio > 1 = good risk-adjusted returns, > 2 = excellent

  • Volatility (annualized) = standard deviation of returns scaled to annual basis

Examples

Single symbol with all indicators

uv run python scripts/technicals.py AAPL

Multiple symbols

uv run python scripts/technicals.py AAPL,MSFT,GOOGL

With earnings data

uv run python scripts/technicals.py NVDA --earnings

Specific indicators only

uv run python scripts/technicals.py TSLA --indicators rsi,macd

Correlation Analysis

Compute price correlation matrix between multiple symbols for diversification analysis.

Instructions

uv run python scripts/correlation.py SYMBOLS [--period PERIOD]

Arguments

  • SYMBOLS

  • Comma-separated ticker symbols (minimum 2)

  • --period

  • Historical period: 1mo, 3mo, 6mo, 1y (default: 3mo)

Output

  • symbols

  • List of symbols analyzed

  • period

  • Time period used

  • correlation_matrix

  • Nested dict with correlation values between all pairs

Interpretation

  • Correlation near 1.0 = highly correlated (move together)

  • Correlation near -1.0 = negatively correlated (move opposite)

  • Correlation near 0 = uncorrelated (independent movement)

  • For diversification, prefer low/negative correlations

Examples

Portfolio correlation

uv run python scripts/correlation.py AAPL,MSFT,GOOGL,AMZN

Sector comparison

uv run python scripts/correlation.py XLF,XLK,XLE,XLV --period 6mo

Check hedge effectiveness

uv run python scripts/correlation.py SPY,GLD,TLT

Dependencies

  • numpy

  • pandas

  • pandas-ta

  • yfinance

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

全方位智能股票分析v4

A股/港股/美股/ETF 全方位智能分析助手 v4.0。 核心特点:①结论先行②信号明确果断③盘中实时扫描④自动读取 ~/Desktop/股票知识库/。 数据来源:tushare realtime_quote(实时五档盘口)、akshare(资金流向/龙虎榜/研报)、yfinance(美股/港股)、Web搜索(消...

Registry SourceRecently Updated
970Profile unavailable
Research

Cup and Handle Pattern Detector

检测股票日线是否符合"杯柄形态(Cup and Handle)"技术分析形态,并生成含轮廓线的识别示意图。触发场景:(1) 询问某只股票是否形成杯柄形态 (2) 查询杯柄形态股票 (3) 技术形态识别需求。触发词:杯柄形态、cup and handle、欧奈尔形态、技术形态识别。

Registry SourceRecently Updated
881Profile unavailable
Research

StockScanner Pro

社交媒体自动化运营助手。自动生成并发布小红书、微博、Twitter 内容,定时发送、互动回复。

Registry SourceRecently Updated
1140Profile unavailable
Research

趋势启动扫描器

基于历史技术指标验证,实时扫描筛选处于上升趋势初期的潜力股票,评分≥60分为重点关注标的。

Registry SourceRecently Updated
1500Profile unavailable