Term-Weighted Matched Maturity
Matched Maturity is an advanced FTP/LTP method and considers the individual cash flow features of a product/position. In this function, the following formula is used to calculate the FTP base rate rMMFTP of a product/position with cash flows:
-
Pi is the i-th principal payment amount relating to the i-th term Ti
-
ri is the prevailing interest rate relating to Ti retrieved from the specified FTP rate curve
-
n is the total number of principal payments.
On the Input tab, choose the Join Events, Positions and Cash Flows function. Since each individual position and event is assigned to an FTP and LTP rule and principal payments are used in the calculation as mentioned above, the fields Flow ID, Flow Type and FTP/LTP Rule are used to filter for the correct data by selecting flow type PRIN and FTP/LTP rule MM and excluding empty flow IDs.
The Lookup tab contains the Curve Data function because it will be used to assign FTP and LTP rates to individual cash flows by matching dates. The FTP or LTP curve rates are linearly interpolated in the background so that all cash flow dates will be assigned with a correct FTP or LTP curve rate.
For demonstration purposes, the following rules have been defined:
-
Rule R1 – Lookup Rates for Cash Flows is set to rule type “Rate Modelling” on level 0. It has only one line L1 – Rate from a Given Curve of line type “Lookup Rate by Interpolation”. When this rule is performed, the curve rates will first be linearly interpolated in the background and then assigned to all cash flows according to the specified curve ID, curve validity date, and flow date.
-
Rule R0 – Calculate Term is set to rule type “Key Figure Formula” on level 1. It has two lines, which assign values to the term and term unit fields.
-
Rule R2 – Base Rate by Matched Maturity is set to rule type “Matched Maturity” on level 2. This rule selects the entries from the result from rule R1 by limiting the rule type to BASE (base rate) and contains a line L001 Term-Weighted Matched Maturity FTP that calculates the FTP base rate using the formula above at the granularity level of position ID and event ID.
-
Rule R3 – Liquidity Premium by Matched Maturity is set to rule type “Matched Maturity” on level 2. This rule selects the entries from the result from rule R1 by limiting the rule type TLP – term liquidity premium. It contains a line Matched Maturity that calculates the LTP rate using the formula above at the granularity level of position ID and event ID.