ThirdMomentQuantX

QuantX · Coming soon

Derivatives pricing and risk for the treasury desk.

A pricing library written from scratch in C#. Multi-curve calibration, volatility models, Monte Carlo exposure and XVA, with every sensitivity computed by adjoint differentiation.

Currencies
5
Holiday calendars
6
Methodology chapters
25
Automated tests
1,700+

Products

One engine for the whole book.

Swaps, options, credit and debt share the same legs, curves and conventions, so a hedge and the loan it covers are valued on one market.

  • Interest rate swaps

    • Overnight indexed swaps with lookback, rate cut-off and payment lag
    • Fixed against term-rate swaps, and swaps of any two legs
    • Tenor basis swaps and forward rate agreements
    • Fixings in advance or in arrears, with the timing adjustment
  • Interest rate options

    • Caps and floors on term rates and on compounded overnight rates
    • European swaptions, settled physically or in cash
    • CMS legs and CMS swaps
    • Normal and shifted lognormal models, with a SABR smile
  • FX and cross-currency

    • FX forwards
    • Cross-currency basis swaps with a constant notional
    • Mark-to-market swaps whose notional resets to the FX fixing
    • FX positions reported for every value
  • Credit

    • Credit default swaps under the standard market model
    • Survival curves bootstrapped from CDS quotes
    • Sensitivity to each CDS quote and to the recovery rate
  • Bonds and Sukuk

    • Fixed-rate bonds: bullet, zero-coupon and amortising
    • Fixed-rate Sukuk
    • Accrued interest, price and yield to maturity, yield risk measures
    • Z-spread over the discount curve
  • Loans

    • Fixed, term-rate and compounded overnight loans
    • Amortising repayment schedules
    • Floors on the benchmark rate, valued as options
    • Upfront, agency, renewal and prepayment fees

Curves and volatility

Built from the quotes you trade.

USD, EUR, GBP, JPY and SAR curve sets ship with their conventions. Each one is a document you can amend.

  1. 01

    Multi-curve calibration.

    Discount and projection curves are separate. Curves that depend on each other are solved together, in an order the library works out from the instruments.

  2. 02

    Collateral-aware discounting.

    A CSA curve is implied from FX forwards and cross-currency basis swaps. Synthetic curves discount a currency under the collateral of another.

  3. 03

    A choice of interpolation.

    Linear, log-linear, cubic Hermite with a monotonicity filter, and monotone convex. Each curve names its own style.

  4. 04

    SABR and caplet stripping.

    Swaption cubes are fitted with SABR on normal or shifted lognormal quotes. Flat cap volatilities are stripped into caplet volatilities.

  5. 05

    Convexity adjustments.

    In-arrears fixings take a timing adjustment from the caplet smile. CMS rates are replicated with a linear terminal swap rate model.

Risk by AAD

Every sensitivity in one sweep.

QuantX carries its own adjoint algorithmic differentiation. A valuation is recorded once and a single backward pass returns the sensitivity to every input, whatever their number.

One code path

Curves and pricers are written once, generic over the number type. They run on plain doubles for speed and on the tape for risk, so price and risk cannot drift apart.

Risk to market quotes

Sensitivities pass through the calibration by the implicit function theorem. You read the risk to the quotes you hedge with, with no bump and no recalibration.

Built for portfolios

The market is recorded once and reused for every trade. Positions are valued in parallel and totals are identical for any number of threads.

Reported for each trade and each portfolio:Delta per quoteDelta per curve nodeTotal deltaVega per volatility quoteSABR parameter riskCS01FX positions

Simulation and XVA

Exposure you can reproduce.

Monte Carlo exposure for interest rate netting sets: swaps, FRAs, caps, floors and swaptions in one currency. The same seed gives the same numbers on any machine.

  1. 01

    Hull-White, calibrated per netting set.

    A one-factor model in linear Gauss-Markov form. Volatilities reprice co-terminal swaptions or caplets, and the mean reversion is fitted to a second strip.

  2. 02

    Exact simulation.

    Each path draws the state and the integrated short rate exactly between grid dates. Paths come in antithetic pairs, from a generator with one stream per block.

  3. 03

    Options valued on the path.

    Swaps are valued by the same leg pricing as today. FRAs, caplets and swaptions use the model's closed form conditioned on the path.

  4. 04

    Collateral.

    Variation margin with thresholds, a minimum transfer amount and a margin period of risk. Expected exposure, expected negative exposure and PFE at the quantile you set.

  5. 05

    CVA, DVA and FVA.

    Unilateral or bilateral with first-to-default closeout, plus funding cost and benefit. CVA comes with its sensitivity to each CDS quote and its Monte Carlo standard error.

Foundations

The details that move the last digit.

  • Calendars and dates

    New York, U.S. government securities, TARGET, London, Tokyo and Riyadh, with Hijri holidays. Nine ISDA day counts. Schedules with stubs and end-of-month rules.

  • Numerics

    Brent and Newton solvers, Levenberg-Marquardt least squares, QR and LU, Gauss quadrature. Implied volatility solvers for Black and Bachelier.

  • Historical statistics

    Volatilities and correlations from stored history, equally or exponentially weighted. A correlation matrix that is not valid is repaired to the nearest one.

  • Money

    Every amount carries its currency and a sign for the holder. Trades are versioned, and past cash flows are valued from stored fixings.

Methodology

Numbers you can defend.

Every calculation is defined in a methodology book of 25 chapters, with its notation, market conventions, edge cases and a worked example that the test suite reproduces. The book is public.

Access

Where you work.

Built

Windows desktop

Deal entry, portfolio valuation, XVA and debt reporting in one application.

In development

Excel add-in

Market data, time series and statistics functions are built. Pricing functions come next.

Planned

Web application

The same screens in your browser, with nothing to install.

Be the first to know.

QuantX will be available by subscription. Leave your email and we will write to you when it opens.

We use your address for QuantX news only. To be removed, write to contact@thirdmoment.io.

Reconnecting Connection paused Could not reconnect Could not resume Session expired

The connection to the server was lost. Trying to restore it. Next attempt in 0s. The connection was paused. It will resume on its own. The server did not answer. Your work is still here. The paused session could not be resumed. The server could not restore this session. Reloading will start a new one.

An unhandled error has occurred. Reload 🗙