technical-analysis▌
staskh/trading_skills · updated Apr 8, 2026
Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data.
Technical Analysis
Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin 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.,AAPLorAAPL,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 changeindicators- Computed values for each indicatorrisk_metrics- Volatility (annualized %) and Sharpe ratiosignals- Buy/sell signals based on indicator levelsearnings- 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 analyzedperiod- Time period usedcorrelation_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
numpypandaspandas-tayfinance
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★41 reviews- ★★★★★Ira Taylor· Dec 20, 2024
I recommend technical-analysis for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Pratham Ware· Dec 16, 2024
Registry listing for technical-analysis matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Ishan Wang· Dec 12, 2024
Solid pick for teams standardizing on skills: technical-analysis is focused, and the summary matches what you get after install.
- ★★★★★Zara Jain· Dec 8, 2024
Keeps context tight: technical-analysis is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Min Reddy· Nov 27, 2024
technical-analysis is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Isabella Lopez· Nov 19, 2024
We added technical-analysis from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Ishan Li· Nov 11, 2024
technical-analysis fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Yash Thakker· Nov 7, 2024
technical-analysis reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Dhruvi Jain· Oct 26, 2024
I recommend technical-analysis for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Xiao Rahman· Oct 18, 2024
Useful defaults in technical-analysis — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 41