Docs / nablatensor-quant / com.nablatensor.quant
final class
BasketOption
A three-asset arithmetic basket option under correlated GBM.
The correlation matrix and the basket weights are fixed model inputs (host Cholesky, done once at record time); the spots, vols and rate are differentiable, so one adjoint sweep returns the per-asset delta and vega vectors of the basket.
Fields
static final int ASSETS
Methods
static BiConsumer<AadRecorder, Nabla.Inputs<BasketMarket>> option(OptionType type, double[] weights, double strike, double[][] corr, double maturity, int steps)