Skip to main content

DerivFabric

High-performance derivatives pricing framework in Rust, exposed through REST and gRPC APIs.

What DerivFabric provides

CapabilityCoverage
InstrumentsVanilla, barrier, Asian, lookback, binary, spread, variance swap, autocallables, convertible bonds, IR swaps, caps/floors, CDS, inflation
ModelsBlack-Scholes, Bachelier, Heston, SABR, Merton, Bates, Dupire, Hull-White, CIR, Vasicek, LMM, G2++, Jarrow-Yildirim
PricersAnalytical (BS, BAW, Bjerksund-Stensland), Monte Carlo (GBM, LSM), finite difference, binomial/trinomial trees, FFT (Carr-Madan)
RiskFull Greeks, portfolio VaR, stress testing, hedge optimization, XVA (CVA/DVA/FVA/KVA)
DSLComposable contract algebra with serializable spec layer for API exposure

Validation

DerivFabric is validated against two independent reference libraries:

  • QuantLib - 300+ vanilla vectors, 66+ Greeks vectors, 84+ matrix vectors
  • FinancePy - 300+ vanilla, 66+ Greeks, 40+ lookback, 40+ American, 96+ Asian vectors

Cross-library triangulation ensures no single-source bias in golden vectors.