options-strategy

Backtest multi-leg options portfolios with Black-Scholes pricing and daily Greeks.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill options-strategy-loanntc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: options-strategy
Source: https://github.com/loanntc/Paave/tree/main/skills/options-strategy
Command: npx skills add https://github.com/loanntc/Paave --skill options-strategy-loanntc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you evaluate how multi-leg option strategies might perform by turning underlying price history into synthetic option pricing and daily Greeks and PnL, reducing guesswork before you trade.

Core Features & Use Cases

  • Multi-leg backtesting: Simulate open/close instructions for portfolios composed of multiple option legs across expiries.
  • Black-Scholes pricing & Greeks: Compute theoretical option values and aggregate portfolio Greeks (delta/gamma/theta/vega) to understand risk and exposure.
  • Strategy coverage: Model common structures like covered calls, protective puts, straddles/strangles, iron condors, butterflies, and calendar spreads for crypto and equity underlyings.

Quick Start

Use the SignalEngine interface in code/signal_engine.py to emit multi-leg open/close instructions, then run the backtest with engine set to "options" in config.json.

Frequently Asked Questions about options-strategy

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

FAQPage Schema
How do I backtest multi-leg options strategies like iron condors and butterflies?

Backtest multi-leg options strategies by emitting open/close instructions through a SignalEngine interface, which the options-configured runner processes using Black-Scholes pricing to estimate daily PnL and Greeks.

How does Black-Scholes pricing calculate portfolio Greeks for options backtesting?

Black-Scholes pricing calculates portfolio Greeks by computing theoretical option values for each leg and aggregating delta, gamma, theta, and vega exposures to estimate overall portfolio risk and PnL.

Can I use options backtesting for crypto underlyings and volatility trading?

Yes, options backtesting supports crypto underlyings and volatility trading by applying Black-Scholes theoretical pricing to historical price data, requiring historical-volatility and risk-free rate inputs.

What do I need to start simulating covered calls and protective puts?

To start simulating covered calls and protective puts, implement SignalEngine.generate(data_map) to output dated instructions with per-leg type, strike, expiry, and signed quantity, then configure an options runner.

Does options backtesting support calendar spreads across different expiries?

Yes, options backtesting supports calendar spreads across different expiries by simulating open and close instructions for portfolios composed of multiple option legs with varying expiration dates.

What are the limitations of using Black-Scholes for options backtesting?

Black-Scholes options backtesting relies on theoretical pricing and requires accurate historical-volatility inputs, meaning it estimates rather than replicates exact market fills, which may limit modeling extreme market conditions.