options-pricing

Compute option prices and implied volatility using Black-Scholes, Monte Carlo, and CRR binomial tree methods.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill options-pricing-xjtulyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: options-pricing
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/08-finance-academic/options-pricing
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill options-pricing-xjtulyc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy, matplotlib, pandas, brentq.

What problem does it solve?

This Skill helps you value European and American options accurately and translate observed option prices into implied volatility, including the full set of Greeks and volatility smiles/surfaces.

Core Features & Use Cases

  • Black-Scholes pricing and Greeks: Compute European call/put prices plus analytical Delta, Gamma, Vega, Theta, and Rho.
  • Monte Carlo valuation with variance reduction: Estimate option prices via GBM simulation using antithetic variates and control variates, along with standard errors and confidence intervals.
  • American option pricing via CRR binomial tree: Model early exercise using Cox-Ross-Rubinstein backward induction.
  • Implied volatility extraction: Recover implied volatility from market prices using Brent’s method and validate against arbitrage bounds.
  • Implied volatility surface visualization: Generate and plot an implied volatility heatmap and smiles across strikes and maturities.

Quick Start

Use the options-pricing skill to compute the Black-Scholes price and Greeks for a European call with given S, K, T, r, and sigma, and then extract the implied volatility from an observed market option price.

Frequently Asked Questions about options-pricing

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

FAQPage Schema
How do I compute Black-Scholes option prices and analytical Greeks for European contracts?

To compute Black-Scholes option prices and Greeks, supply underlying price, strike, maturity, risk-free rate, and volatility. The Skill calculates European call/put prices alongside analytical Delta, Gamma, Vega, Theta, and Rho using the Black-Scholes-Merton formulation.

What is the best way to price American options with early exercise using a binomial tree?

Pricing American options with early exercise is best handled using the Cox-Ross-Rubinstein binomial tree. This Skill models early exercise features through backward induction on the tree to accurately value American contracts.

How do I extract implied volatility from observed market option prices?

To extract implied volatility from observed market option prices, this Skill applies Brent's method root-finding. It recovers implied volatility and validates the results against arbitrage bounds to ensure pricing accuracy.

Can I use Monte Carlo simulation with variance reduction for options pricing?

Yes, you can use Monte Carlo simulation for options pricing with variance reduction. This Skill estimates prices via Geometric Brownian Motion simulation using antithetic variates and control variates, providing standard errors and confidence intervals.

How do I generate and visualize an implied volatility surface across strikes and maturities?

To generate and visualize an implied volatility surface, this Skill constructs a heatmap and smiles across strikes and maturities. It uses matplotlib to plot the extracted implied volatility data for market analysis.

Does this options pricing tool require numpy and scipy to run numerical methods?

Yes, this options pricing tool requires numpy and scipy to run its numerical methods. These dependencies support the underlying mathematical computations for Monte Carlo estimation, root-finding, and analytical Greek calculations.