Docs / quant-cva / com.nablatensor.cva

final class

FxForward

A single-settlement FX forward: exchange foreignNotional of foreign currency for strike reporting-currency per unit at settlementYears. At a grid date t the forward FX rate is rebuilt from the simulated FX spot and the two discount curves,

F(t, T) = fxSpot(t) * P_foreign(t, T) / P_domestic(t, T)
value(t) = side * foreignNotional * (F(t, T) - strike) * P_domestic(t, T)

so the trade contributes FX delta and FX-vega to the netting-set CVA gradient alongside the swaps' rate risk.

Methods

static FxForwardBuilder of()
String id()
SideEnum side()
double foreignNotional()
double strike()
double settlementYears()
String toString()
double grossNotional()
double effectiveMaturityYears()
SDouble markToMarket(Path path, double t)