options-strategy

Backtest option portfolios using Black-Scholes prices to simulate PnL and Greeks.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill options-strategy-liangwei-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: options-strategy
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/options-strategy
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill options-strategy-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backtesting of option portfolios requires synthesizing option prices from the underlying and evaluating PnL, Greeks, and expiration decisions without relying on live options data.

Core Features & Use Cases

  • Black-Scholes pricing: generate theoretical option prices from the underlying price series.
  • Greeks exposure & PnL: compute portfolio-level delta, gamma, theta, vega, and cumulative PnL across backtests for multi-leg strategies.
  • Multi-leg backtesting: support for hedging setups (covered calls, protective puts), volatility strategies (straddles, strangles), and spread structures (iron condors, butterflies, calendar spreads).

Quick Start

Backtest a sample option portfolio starting from the current underlying price and review the generated reports.

Frequently Asked Questions about options-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backtest option portfolios without live options data?

Backtest option portfolios by synthesizing Black-Scholes prices from the underlying price series to simulate PnL, Greeks exposure, and expiration decisions without relying on live options data feeds.

Can I backtest multi-leg option strategies like iron condors and straddles?

Backtest multi-leg option strategies including hedging setups like covered calls, volatility strategies like straddles and strangles, and spread structures like iron condors, butterflies, and calendar spreads.

How are option Greeks computed during a backtest?

Compute portfolio-level Greeks exposure by synthesizing Black-Scholes prices from the underlying price series, generating delta, gamma, theta, vega, and cumulative PnL metrics exported as greeks.csv.

Does this options backtesting approach work for both crypto and equity markets?

Backtesting option portfolios using Black-Scholes pricing applies to both crypto and equity markets, leveraging historical volatility in place of implied volatility data to simulate multi-leg strategy performance.

What is the best way to simulate option PnL using historical volatility?

Simulate option PnL by synthesizing Black-Scholes prices from historical volatility data, implementing a SignalEngine interface with a generate method to evaluate portfolio-level exposure and expiration decisions.