Module trs
Expand description
Bond total-return-swap templates โ the trs group.
Two funding variants share one builder: float_funding (a projected index
plus the agreed spread) and fixed_funding (the agreed spread paid as a flat
fixed rate). Both default the funding leg to USD, quarterly resets, and an
Act/360 funding day-count. The reference bond (by id) and the agreed funding
spread are supplied at materialisation, not on the template.
Staticsยง
- TRS_
TEMPLATES - Registry rows for this template group.
Functionsยง
- fixed_
funding TRS-FIXED-FUNDINGtemplate.- float_
funding TRS-FLOAT-FUNDINGtemplate.- trs_
template ๐ - Builds a
trstemplate with USD funding, quarterly resets, and an Act/360 funding day-count.namedoubles as the registry code.