Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
This skill provides comprehensive options strategy analysis and education using theoretical pricing models. It helps traders understand, analyze, and simulate options strategies without requiring real-time market data subscriptions.
Core Capabilities:
Data Sources:
Required:
numpy, scipy, requestsOptional:
Installation:
pip install numpy scipy requestsQuick Start Examples:
Run from the installed skill directory after installing requirements.txt.
Use the library for custom inputs; the module's fixed research demonstration does
not parse ticker, pricing or strategy flags. This fictional European option uses
T in years and annual decimal rates/volatility/dividend yield. The model assumes
constant volatility/rates and continuous dividends; it is not a trading recommendation.
import sys
from pathlib import Path
sys.path.insert(0, str(Path("scripts").resolve()))
from black_scholes import OptionPricer
# Fictional European option; T is years, r/sigma/q are annual decimals.
pricer = OptionPricer(S=100.0, K=100.0, T=1.0, r=0.0, sigma=0.2, q=0.0)
greeks = pricer.get_all_greeks("call")
print(greeks)Use this skill when:
Example requests:
Required from User:
Optional from User:
Fetched from FMP API:
Example User Input:
Ticker: AAPL
Strategy: Bull Call Spread
Long Strike: $180
Short Strike: $185
Expiration: 30 days
Contracts: 10
IV: 25% (or use HV if not provided)Objective: Estimate volatility from historical price movements.
Method:
# Fetch 90 days of price data
prices = get_historical_prices("AAPL", days=90)
# Calculate daily returns
returns = np.log(prices / prices.shift(1))
# Annualized volatility
HV = returns.std() * np.sqrt(252) # 252 trading daysOutput:
User Can Override:
sigma=0.28 to OptionPricerRead references/black_scholes_methodology.md (section "Step 3 detail: Price Options Using Black-Scholes") when pricing each option leg. It holds the Black-Scholes formulas, dividend and American-option adjustments, the Python implementation and the per-leg output notes.
Read references/black_scholes_methodology.md (section "Step 4 detail: Calculate Greeks") when calculating Greeks. It holds the per-Greek Python functions, the position-Greeks aggregation example and the Greeks interpretation table.
Objective: Calculate profit/loss at various stock prices at expiration.
Method:
Generate stock price range (e.g., ±30% from current price):
current_price = 180
price_range = np.linspace(current_price * 0.7, current_price * 1.3, 100)For each price point, calculate P/L:
def calculate_pnl(strategy, stock_price_at_expiration):
pnl = 0
for leg in strategy.legs:
if leg.type == 'call':
intrinsic_value = max(0, stock_price_at_expiration - leg.strike)
else: # put
intrinsic_value = max(0, leg.strike - stock_price_at_expiration)
if leg.position == 'long':
pnl += (intrinsic_value - leg.premium_paid) * 100 # Per contract
else: # short
pnl += (leg.premium_received - intrinsic_value) * 100
return pnl * num_contractsKey Metrics:
Example Output:
Bull Call Spread: $180/$185 on AAPL (30 DTE, 10 contracts)
Current Price: $180.00
Net Debit: $2.50 per spread ($2,500 total)
Max Profit: $2,500 (at $185+)
Max Loss: -$2,500 (at $180-)
Breakeven: $182.50
Risk/Reward: 1:1
Probability Profit: ~55% (if stock stays above $182.50)Read references/strategy_analysis_examples.md (section "Step 6 detail: Generate P/L Diagram (ASCII Art)") when drawing the P/L diagram. It holds the generate_pnl_diagram function and an example diagram.
Provide tailored guidance based on strategy type: Read references/strategy_analysis_examples.md (section "Step 7 detail: Strategy-Specific Analysis") when writing strategy-specific guidance. It holds the worked Covered Call, Protective Put and Iron Condor examples.
Read references/strategy_analysis_examples.md (section "Step 8 detail: Earnings Strategy Analysis") when the user asks about an earnings play. It holds the Earnings Calendar integration snippet and the Long Straddle/Strangle and Short Iron Condor examples with IV crush analysis.
Read references/strategy_analysis_examples.md (section "Step 9 detail: Risk Management Guidance") when sizing a position or setting exit rules. It holds the position-sizing examples, portfolio Greeks guidelines and exit rules by strategy.
Read references/analysis_report_template.md (section "Strategy Analysis Report Template and File Naming") when writing the final report. It holds the full Markdown report template and the file naming convention.
Read references/pricing_and_volatility_guidance.md when explaining pricing limitations or volatility (HV vs IV, IV percentile). It holds the Black-Scholes assumption caveats and the volatility guidance.
Earnings Calendar:
Technical Analyst:
US Stock Analysis:
Bubble Detector:
Portfolio Manager:
Read references/common_use_cases.md when planning the workflow for a typical request. It holds four worked use cases: learn a strategy, analyze a trade, earnings strategy, portfolio Greeks check.
Problem: IV not available
Problem: Negative option price
Problem: Greeks seem wrong
Problem: Strategy too complex
References:
references/black_scholes_methodology.md - Black-Scholes formulas, Greeks, and interpretation, plus the Step 3 and Step 4 implementation detailreferences/strategy_analysis_examples.md - P/L diagram, strategy-specific, earnings strategy and risk management examples (Steps 6 to 9)references/analysis_report_template.md - Full analysis report template and file namingreferences/pricing_and_volatility_guidance.md - Theoretical pricing limitations and volatility guidancereferences/common_use_cases.md - Four worked request flowsScripts:
scripts/black_scholes.py - Pricing engine and GreeksExternal Resources:
Version: 1.0 Last Updated: 2025-11-08 Dependencies: Python 3.9+, numpy, scipy, requests API: FMP API (Free tier sufficient)
tradermonty/claude-trading-skills
a627d17
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.