Skip to main content

Module equity

Module equity 

Source

Modulesยง

asian
Analytic pricing of Asian (average) options.
autocallable
Autocallable notes (single underlying) with an autocall coupon (rebate) and knock-in capital protection.
barrier
Analytic pricing of continuously monitored barrier options (Reiner-Rubinstein 1991), all eight types: up/down x in/out x call/put, without rebate.
binary_option
binomial
black76
Black-76 (1976): European options on a future/forward price F.
blackscholes
build_contracts
builder
Ergonomic construction of EquityOption from Rust code.
equity_forward
equity_future
finite_difference
Finite difference pricer for the backward pricing PDE in log-spot.
forward_start_option
Forward-start options: the strike is fixed at a future date t_f as a fraction k of the then-prevailing spot; the payoff at expiry T is (S_T - k * S_{t_f})^+ (call) or the mirrored put.
handle_equity_contracts
heston
Heston (1993) stochastic volatility model.
local_vol
Dupire local volatility calibrated from an implied vol surface.
montecarlo
Monte Carlo pricing engine.
rainbow
Rainbow (multi-asset) options: best-of, worst-of, spread, basket and exchange payoffs on n correlated lognormal assets.
utils
vanila_option
vol_surface
Implied volatility surface construction from quoted options.