options-strategy
Skill by HKUDS
Options Strategy backtests option portfolio strategies using Black-Scholes pricing, Greeks analysis and multi-leg simulation. It is suited to researchers testing cryptocurrency and equity option structures.
Install options-strategy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.claude/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/options-strategy ~/.claude/skills/options-strategyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/options-strategy ~/.gemini/antigravity-cli/skills/options-strategyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Options Strategy is an agent skill for backtesting option portfolio strategies. It starts from an underlying price series, prices options with the Black-Scholes model, and simulates PnL, Greeks exposure and expiration for multi-leg portfolios. Supported structures include covered calls, protective puts, straddles, strangles, iron condors, butterflies and calendar spreads.
Volatility is approximated with 30-day rolling historical volatility, since the model runs in synthetic-data mode without real option market data. The engine writes equity, metrics, trades and daily Greeks files to an artifacts folder. It is aimed at researchers studying option pricing and Greeks sensitivity, and at agents that need one-off option pricing through the options_pricing tool.
Written from the project's SKILL.md and checked against it.
What it can do
- Black-Scholes pricingComputes theoretical European option prices from the underlying price series.
- Multi-leg backtestingSimulates PnL, exposure and expiry exercise for multi-leg option portfolios.
- Greeks analysisOutputs daily portfolio delta, gamma, theta and vega aggregates to greeks.csv.
- options_pricing toolPrices a single option and returns its theoretical price and Greeks for interactive analysis.
- Strategy templatesCovers covered calls, protective puts, straddles, strangles, iron condors, butterflies and calendar spreads.
What you need
- Python
- Tushare data source, as set in the config.json example
Try asking
- Backtest an iron condor on 000300.SH from 2020 to 2024.
- Price a 30-day BTC call with spot 50000, strike 52000 and volatility 0.6.
- Show the daily Greeks exposure for my covered call strategy.
Good to know
- Supports European options only, not American options.
- Uses historical volatility in place of implied volatility, so pricing may be biased at extreme strikes.
- Synthetic-data mode has no bid-ask spreads or liquidity constraints, so results may be overly optimistic.
- contract_multiplier must be set correctly for each market.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent/src/skills/options-strategy/SKILL.md, agent/src/skills/options-strategy/example_signal_engine.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
example_signal_engine.py16 KB
Alternatives to options-strategy
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
options-strategy: common questions
Does options strategy support crypto options?
The description says it is suitable for cryptocurrency and equity options. The pricing example uses a BTC-style spot of 50000.
Does it need real option market data?
No. The source says the synthetic-data mode needs no real option market data, because it uses historical volatility.
What files does a backtest produce?
It writes equity.csv, metrics.csv, trades.csv, greeks.csv and ohlcv files for each underlying to the artifacts folder.
How do I install options-strategy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is options-strategy free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is options-strategy safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to options-strategy?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
