Docs / quant / com.nablatensor.quant.analytic
final class
AnalyticGreeks
A closed-form price and its first- and second-order sensitivities — the reference an adjoint Monte-Carlo run is checked against.
Sign conventions match BlackScholes and the gradient carrier EquityMarket:
deltaisdV/dS(spot delta of the primary underlying);gammaisd^2V/dS^2;vegaisdV/dsigma, per unit volatility (not per 1%);thetaisdV/dT, the derivative with respect to the time to expiry — the same convention asEquityMarket.maturity()as a gradient slot, so it is the negative of the calendar-time theta usually quoted in textbooks;rhois the totaldV/drin the pricer's own parameterisation (for a dividend-yield or foreign-rate model the carry moves withr);strikeSensitivityisdV/dK.
Every pricer in this package computes price in closed form and the six sensitivities by central differencing of that closed form (see Greeking); the differences carry no Monte-Carlo noise and only ~1e-7 truncation error, which is what makes the record usable as an oracle.
Methods
static AnalyticGreeksBuilder of()
double price()
double delta()
double gamma()
double vega()
double theta()
double rho()
double strikeSensitivity()
static AnalyticGreeks intrinsic(double price)
A price with all sensitivities zero — the degenerate T=0 or sigma=0 case.