Implementation - 2023.1 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.1 English

This section mainly introduces the implementation process of short-rate and discount, which is applied in Tree Engine. As a key part of Tree Engine, the class \(VModel\) implements the single-factor Vasicek model to calculate short-rate and discount by utilizing continuous compounding. Here, the implementation process is introduced.

    1. Since the short-rate at the current time point is independent from the short-rate at the previous time point, there is no need to calculate the short-rate in this module.
    2. For implementing the generic Tree framework, this model only performs the calculation of some trinomial tree related parameters.
  1. The discount is calculated at time point \(t\) with the duration \(dt\) based on the short-rate.