Module irs
Expand description
Interest-rate swap templates β the irs group covers every single-currency
rate swap, both OIS (fixed vs compounded RFR) and vanilla IBOR (fixed vs term
float). Builders resolve their index by code through the index registry.
StaticsΒ§
- IRS_
IBOR - Registry rows for this template group.
- IRS_
IBOR_ FWD - Registry rows for this template group.
- IRS_
MEETING_ OIS - Registry rows for this template group.
- IRS_OIS
- Registry rows for this template group.
- IRS_
OIS_ AVERAGED - Registry rows for this template group.
- IRS_
OIS_ FWD - Registry rows for this template group.
- IRS_
TENOR_ BASIS - Registry rows for this template group.
- IRS_ZCS
- Registry rows for this template group.
FunctionsΒ§
- any_
index_ πname - Resolves any rate index (overnight RFR or term IBOR) by code and returns its name β the forward-curve key. Used by the tenor-basis builder, whose legs may project an RFR or an IBOR index.
- aud_
aonia AUD-AONIA-OIStemplate.- aud_
bbsw_ 6m AUD-BBSW-6M-IRStemplate.- cad_
corra CAD-CORRA-OIStemplate.- chf_
saron CHF-SARON-OIStemplate.- cnh_
hibor_ 3m CNH-HIBOR-3M-IRStemplate.- cny_
shibor_ 3m CNY-SHIBOR-3M-IRStemplate.- cny_
shifon CNY-SHIFON-OIStemplate.- dkk_
destr DKK-DESTR-OIStemplate.- eur_
ecb_ meeting_ ois EUR-ESTR-MeetingOIStemplate.- eur_
estr EUR-ESTR-OIStemplate.- eur_
estr_ euribor_ basis EUR-ESTR-EURIBOR-BASIStemplate.- eur_
euribor_ 1m_ zcs EUR-EURIBOR-1M-ZCStemplate.- eur_
euribor_ 3m EUR-EURIBOR-3M-IRStemplate.- eur_
euribor_ 3m_ zcs EUR-EURIBOR-3M-ZCStemplate.- eur_
euribor_ 6m EUR-EURIBOR-6M-IRStemplate.- eur_
euribor_ 6m_ 3m_ basis EUR-EURIBOR-6M-3M-BASIStemplate.- gbp_
boe_ meeting_ ois GBP-SONIA-MeetingOIStemplate.- gbp_
libor_ 3m GBP-LIBOR-3M-IRStemplate.- gbp_
sonia GBP-SONIA-OIStemplate.- hkd_
hibor_ 3m HKD-HIBOR-3M-IRStemplate.- hkd_
honia HKD-HONIA-OIStemplate.- ibor_
index π - Resolves a term (IBOR) index by code.
- ibor_
swap π - Builder for a vanilla IBOR swap template.
namedoubles as the registry code. - ibor_
swap_ πfwd - Forward-generating vanilla IBOR variant (e.g. onshore CNY). Identical to
ibor_swapbut generates the schedule forward from the effective date. - ils_
shir ILS-SHIR-OIStemplate.- inr_
overnight INR-MIBOR-OIStemplate.- jpy_
tibor_ 6m JPY-TIBOR-6M-IRStemplate.- jpy_
tona JPY-TONA-OIStemplate.- krw_
kofr KRW-KOFR-OIStemplate.- meeting_
ois π - Builder for a meeting-date OIS template.
namedoubles as the registry code. The single accrual period is generated at materialisation from the deciding bankβs seeded meeting schedule, so no frequency/roll/spot-lag is carried. - mxn_
f_ tiie MXN-F-TIIE-OIStemplate.- nok_
nowa NOK-NOWA-OIStemplate.- nzd_
nziona NZD-NZIONA-OIStemplate.- ois π
- Builder for an OIS template.
namedoubles as the registry code. - ois_
averaged π - Averaged-overnight variant: identical to
oisbut the floating leg averages its daily prints,Ξ£(rα΅’Β·Οα΅’)/Ξ£Ο, instead of compounding them. - ois_fwd π
- Forward-generating OIS variant (e.g. onshore CNY). Identical to
oisbut generates the schedule forward from the effective date. - overnight_
index π - Resolves an overnight index by code, panicking on a wiring error (caught by the registry round-trip test).
- sar_
saibor_ 3m SAR-SAIBOR-3M-IRStemplate.- sek_
stibor_ 3m SEK-STIBOR-3M-IRStemplate.- sek_
swestr SEK-SWESTR-OIStemplate.- sgd_
sora SGD-SORA-OIStemplate.- tenor_
basis π - Builder for a single-currency tenor-basis template.
namedoubles as the registry code. Each leg resolves its index name from the index registry. - thb_
thor THB-THOR-OIStemplate.- try_
tlref TRY-TLREF-OIStemplate.- usd_
effr_ averaged USD-EFFR-AVERAGED-OIStemplate.- usd_
fed_ funds USD-EFFR-OIStemplate.- usd_
fomc_ meeting_ ois USD-SOFR-MeetingOIStemplate.- usd_
libor USD-LIBOR-3M-IRStemplate.- usd_
sofr USD-SOFR-OIStemplate.- zar_
jibar_ 3m ZAR-JIBAR-3M-IRStemplate.- zar_
zaronia ZAR-ZARONIA-OIStemplate.- zcs π
- Builder for a zero-coupon-swap template.
namedoubles as the registry code; the floating index is resolved byindex_code.float_frequencyis the compounding frequency of the floating side β a ZCS pays once, so it does not describe payments.