MC HJM Kernel - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

This sub-kernel deals with the different path generations and path pricings. It takes as an input the 3 volatility vectors, the risk neutral drift vector and the present forward curve and generates \(N\) paths, \(k\) tenors wide and \(simYears/dt\) deep consisting on the instantaneous forward rate curves associated at each time-step into the future. Then they are fed into the provided pricer algorithm, which will calculate and output the price per path and the average of all prices is returned to the user. The HJM framework implementation allows to easily set the parallelism level via the UN parameter.

The dynamics of the path generation for the HJM framework follows the equation:

\[Z_{i}(t)=Z_{i-1}(t)+\mu_tdt+\sum_{k=1}^{3}(\sigma_k(t)*W_k)\sqrt{dt}+\frac{dt}{\tau}(Z_{i-1}(t-1)-Z_{i-1}(t))\]

Below there is an Architectural diagram of the HJM MonteCarlo framework as it’s implemented.

Architectural diagram of Heath-Jarrow-Morton MonteCarlo framework