Calculates stock risk metrics including volatility, beta, VaR, drawdown, and Sharpe ratio. Use when analyzing portfolio or position risk.
Ships in ib-options-income. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Calculate risk metrics for stocks and positions.
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/risk.py SYMBOL [--period PERIOD] [--position-size SIZE]
SYMBOL - Ticker symbol--period - Analysis period: 1mo, 3mo, 6mo, 1y (default: 1y)--position-size - Dollar amount for position-specific metrics (optional)Returns JSON with:
volatility - Historical volatility (annualized)beta - Beta vs SPYvar_95 - 95% Value at Risk (daily)var_99 - 99% Value at Risk (daily)max_drawdown - Maximum drawdown in periodsharpe_ratio - Risk-adjusted returnposition_risk - If position-size provided, dollar VaRExplain what the risk metrics mean and suggest position sizing if relevant.
numpyyfinanceAll timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/staskh-ib-options-income:risk-assessmentfrom ib-options-income
Generated from the plugin's indexed repository (staskh/trading_skills) — no native marketplace selected
npx claudepluginhub p/staskh-ib-options-income30 skills in this plugin
/calendarReport scheduled US economic events (CPI, NFP, FOMC, GDP, PCE, ISM, jobless claims...) with times in ET, impact, actual/consensus/previous. Use when user asks about the economic calendar, macro events, what data comes out today/this week, or release times. Optional ForexFactory cross-check for the current week./chart-ema-rsiRenders a JPG chart of a ticker's daily candles with EMA 9/20 lines, their golden/death crossovers marked, and an RSI 14 panel with 70/30 bands. Use when the user asks for a chart, candle plot, EMA crossover chart or RSI chart of a stock./earnings-calendarGet upcoming earnings dates with timing (before/after market) and EPS estimates. Use when user asks about earnings dates, earnings calendar, when a company reports, or upcoming earnings.Other plugins' skills for the same job