Indietro

#quant-finance

1 APIs con questa etichetta

Black-Scholes Options API

Black-Scholes-Merton European option pricing as an API, computed locally and deterministically. The price endpoint computes the fair value of a European call and put from the spot price, strike, annualized risk-free rate, annualized volatility, time to expiry in years and an optional continuous dividend yield, using Call = S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2) and the put-call-parity put, with d1 = [ln(S/K) + (r − q + σ²/2)·T]/(σ√T) and d2 = d1 − σ√T and a high-accuracy standard-normal CDF — an at-the-money option on a 100 spot with a 5 % rate, 20 % volatility and one year to expiry is worth about 10.45 for the call and 5.57 for the put. The greeks endpoint returns the full risk sensitivities for both call and put: delta (∂V/∂S), gamma (∂²V/∂S²), vega (∂V/∂σ, per 1.00 and per 1 % point), theta (∂V/∂t, per year and per calendar day) and rho (∂V/∂r). Rates, dividend yield and volatility are annualized and time is in years, continuous compounding. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, trading, quant, portfolio-risk, derivatives and finance-education app developers, option-pricing and Greeks dashboards, and risk engines. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 2 endpoints. This is the European Black-Scholes model; for American-style early exercise or implied volatility solving it returns the closed-form European result only.

api.oanor.com/blackscholes-api