Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 39k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-strategy

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install options-strategy in Claude Code

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

A

No 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 →

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.

options-strategy Install

Add to stack

Loading.