Docs / nablatensor-quant / com.nablatensor.quant.analytic
record
GarmanKohlhagen
Garman-Kohlhagen — a European option on an FX rate quoted as units of domestic per unit of foreign. The foreign rate r_f acts as a continuous yield on the underlying, so the cost of carry is b = r_d - r_f and discounting is at the domestic rate r_d.
rho() is dV/dr_d (domestic rho, carry tracking); foreignRho is dV/dr_f.
Record components
Methods
static GarmanKohlhagen of(OptionType type, double spot, double strike, double maturity, double rateDom, double rateForeign, double vol)
double price()