You are required to specify a tenor in various places in LUSID, for example in a flow convention or index convention, as part of a complex market data object such as a FX forward curve, and also optionally in a recipe to specify a 'look back' validity period for market data.
To do this, use the syntax <integer><unit>
, where:
<integer>
is zero or a positive whole number.<unit>
is one of the following:Min
- MinuteHour
- HourD
- DayBD
- Business day (as determined by a calendar)W
- WeekM
- MonthQ
orQtr
- QuarterSA
- Semi-annualY
- Year
For example, 1Min
or 2D
or 3M
or 10Y
.
Note the following:
You cannot specify fractions of numbers, so to represent one and a half years you would specify
18M
.Some tenors are equivalent, so for example
12M ≡ 4Q ≡ 2SA ≡ 1Y
and6M ≡ 2Q ≡ 1SA
and so on. Others are not, so for example52W ≠1Y
.You can specify
2Day
instead of2D
,3Month
instead of3M
and so on, but LUSID stores the acronym rather than the noun.You can specify
1T
(one term) for instruments (such as a zero-coupon bond) that require a single or 'empty' tenor.