Example: Term Target

Enriches a given set of cash flow data (based on a daily periodicity) and returns a cash flow structure that uses a consistent periodicity of months, quarters or years, and that can be based on different sorts of day count conventions (30/360 German, ACT/ACT). It also interpolates the values of the terms added to the original pattern structure.

In the example, we present a pattern for MOV values (delta values) that are broken into smaller periods. The function proportionally spreads the amount between the resulting ranges.

Input Data

Contract ID Start Date Pattern Key Figure Type Value Period From Period To Period Unit
A 2019-01-01 MOV (Delta) EUR 90 1 90 4
A 2019-01-01 MOV (Delta) EUR 120 91 120 4
Contract ID Start Date Pattern Key Figure Type Value Period From Period To Period Unit
B 2019-01-01 MOV (Delta) EUR 90 1 90 4
Contract ID Start Date Pattern Key Figure Type Value Period From Period To Period Unit
C 2019-01-01 MOV (Delta) EUR - 1 90 4
C 2019-01-01 MOV (Delta) EUR 120 91 120 4

Flow Modeling Configuration

Rules (Tab)
Rule Description Rule Type State Rule Grouping Rule Ordering Selection
TT Term Target Term Target Active      
Rule Line
Line *Line Granularity *Start Date Cut-Off Comparison *Value Type *Day Count Convention *Period Type *Period From *Period To *Value (Result) *Period To Result *Period Unit Result Period Cut-Off
1 Contract ID Start Date – Pattern KF Type German 30/60 Monthly Period From Period To Value Period To Result Period Unit Result  

Key Configuration Description

Field Meaning Notes
Line Identifier of the line Must be unique.
Line Granularity Determines the size of one partition of data Mandatory input that has to be inserted in the Granularity section of the Signature tab
Start Date Starting date to compute the day count Mandatory input
Cut-Off Comparison Cut-off date for a preparational step All items prior to or equal to this date are deleted later if the rule type flow cut-off is also applied.
Value Type This field can have the value “MOV” or “BAL” to determine which value type the cash flow item is made of Mandatory input.

Ensure that the field contains the values “MOV” or “BAL” only. These values differ in the way that the starts of the period are managed.

Day Count Convention Day count convention used to determine the result period Mandatory input.
The funtion manages the following conventions :
  • US 30/360
  • Actual/Actual
  • EU 30/360
  • German 30/360
Period Type Parameter to indicate the pattern structure of the output Mandatory input.
The possible values are:
  • Monthly
  • Quarterly
  • Yearly
Period From Start of the range Mandatory input
Value (Result) This field is both the input field for the amount to be spread and the field used to store the result. Mandatory input/output
Period To Result New pattern structure Mandatory output
Period Unit Result Period unit of the pattern Mandatory output depending on Value Type

Expected Output

Start Date Contract ID Pattern KF Type Period From Period To Period Unit Period Unit Result Period To Result Result Value
2019-01-01 A MOV (Delta) 91 120 4 6 0 EUR 0
2019-01-01 A MOV (Delta) 1 90 4 6 30 EUR 30
2019-01-01 A MOV (Delta) 1 90 4 6 60 EUR 60
2019-01-01 A MOV (Delta) 1 90 4 6 90 EUR 90
2019-01-01 A MOV (Delta) 91 120 4 4 120 EUR 120
Start Date Contract ID Pattern KF Type Period From Period To Period Unit Period Unit Result Period To Result Result Value
2019-01-01 B MOV (Delta) 1 90 4 6 0 EUR 0
2019-01-01 B MOV (Delta) 1 90 4 6 30 EUR 30
2019-01-01 B MOV (Delta) 1 90 4 6 60 EUR 60
2019-01-01 B MOV (Delta) 1 90 4 6 90 EUR 90
Start Date Contract ID Pattern KF Type Period From Period To Period Unit Period Unit Result Period To Result Result Value
2019-01-01 C MOV (Delta) 91 120 4 6 0 EUR 0
2019-01-01 C MOV (Delta) 1 90 4 6 30 EUR 30
2019-01-01 C MOV (Delta) 1 90 4 6 60 EUR 60
2019-01-01 C MOV (Delta) 1 90 4 6 90 EUR 90
2019-01-01 C MOV (Delta) 91 120 4 4 120 EUR 120
If we change the Period Type from “Monthly” to “Quarterly” the result for contract A is as follows:
Contract ID Start Date Pattern KF Type Period From Period To Period Unit Value Period To Result Period Unit Result
A 2019-01-01 MOV 91 120 4 0 0 11
A 2019-01-01 MOV 1 9 4 90 90 11
A 2019-01-01 MOV 91 120 4 120 120 11