What problem does it solve?
This skill solves the need for fast, accurate, and transparent option pricing in backtesting environments, eliminating the reliance on heavy, opaque external libraries.
Core Features & Use Cases
- Multi-Method Pricing: Supports 9 methods including Black-Scholes, Binomial CRR, Trinomial, Monte Carlo, Longstaff-Schwartz, and Heston/Bates models.
- Performance-First Design: Implemented in flat, vectorized Python/NumPy code, achieving up to 800,000 operations per second for closed-form models.
- Use Case: Ideal for quantitative researchers needing to run massive backtests on American or European options while maintaining sub-millisecond latency per option.
Quick Start
Use the option-pricing skill to calculate the Black-Scholes price for a call option with a spot price of 100, strike of 100, 0.25 years to maturity, 5% risk-free rate, and 20% volatility.