IRS#

USD#

SOFR#

In [1]: defaults.spec["usd_irs"]
Out[1]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'nyc',
 'payment_lag': 2,
 'currency': 'usd',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [2]: IRS(dt(2000, 1, 1), "10y", spec="usd_irs").kwargs
Out[2]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c77abd0>

SOFR with tenor less than 2y#

In [3]: defaults.spec["usd_irs_lt_2y"]
Out[3]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'nyc',
 'payment_lag': 2,
 'currency': 'usd',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [4]: IRS(dt(2000, 1, 1), "18m", spec="usd_irs_lt_2y").kwargs
Out[4]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c77b410>

EUR#

ESTR#

In [5]: defaults.spec["eur_irs"]
Out[5]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'tgt',
 'payment_lag': 1,
 'currency': 'eur',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [6]: IRS(dt(2000, 1, 1), "10y", spec="eur_irs").kwargs
Out[6]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c77b530>

3m Euribor#

In [7]: defaults.spec["eur_irs3"]
Out[7]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'tgt',
 'payment_lag': 0,
 'currency': 'eur',
 'convention': '30e360',
 'leg2_frequency': 'q',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [8]: IRS(dt(2000, 1, 1), "10y", spec="eur_irs3").kwargs
Out[8]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c77bb30>

6m Euribor#

In [9]: defaults.spec["eur_irs6"]
Out[9]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'tgt',
 'payment_lag': 0,
 'currency': 'eur',
 'convention': '30e360',
 'leg2_frequency': 's',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [10]: IRS(dt(2000, 1, 1), "10y", spec="eur_irs6").kwargs
Out[10]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c779850>

1m Euribor#

In [11]: defaults.spec["eur_irs1"]
Out[11]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'tgt',
 'payment_lag': 0,
 'currency': 'eur',
 'convention': '30e360',
 'leg2_frequency': 'm',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [12]: IRS(dt(2000, 1, 1), "10y", spec="eur_irs1").kwargs
Out[12]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c779a90>

GBP#

SONIA#

In [13]: defaults.spec["gbp_irs"]
Out[13]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'ldn',
 'payment_lag': 0,
 'currency': 'gbp',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [14]: IRS(dt(2000, 1, 1), "10y", spec="gbp_irs").kwargs
Out[14]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ecb30>

CHF#

SARON#

In [15]: defaults.spec["chf_irs"]
Out[15]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'zur',
 'payment_lag': 2,
 'currency': 'chf',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [16]: IRS(dt(2000, 1, 1), "10y", spec="chf_irs").kwargs
Out[16]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ecbf0>

SEK#

SWESTR#

In [17]: defaults.spec["sek_irs"]
Out[17]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'stk',
 'payment_lag': 1,
 'currency': 'sek',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [18]: IRS(dt(2000, 1, 1), "10y", spec="sek_irs").kwargs
Out[18]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7edd90>

3m Stibor#

In [19]: defaults.spec["sek_irs3"]
Out[19]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'stk',
 'payment_lag': 0,
 'currency': 'sek',
 'convention': '30e360',
 'leg2_frequency': 'q',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [20]: IRS(dt(2000, 1, 1), "10y", spec="sek_irs3").kwargs
Out[20]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ee210>

NOK#

NOWA#

In [21]: defaults.spec["nok_irs"]
Out[21]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'osl',
 'payment_lag': 2,
 'currency': 'nok',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [22]: IRS(dt(2000, 1, 1), "10y", spec="nok_irs").kwargs
Out[22]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ee0f0>

3m Nibor#

In [23]: defaults.spec["nok_irs3"]
Out[23]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'osl',
 'payment_lag': 0,
 'currency': 'nok',
 'convention': '30e360',
 'leg2_frequency': 'q',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [24]: IRS(dt(2000, 1, 1), "10y", spec="nok_irs3").kwargs
Out[24]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7eecf0>

6m Nibor#

In [25]: defaults.spec["nok_irs6"]
Out[25]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'osl',
 'payment_lag': 0,
 'currency': 'nok',
 'convention': '30e360',
 'leg2_frequency': 's',
 'leg2_convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(2)'}

In [26]: IRS(dt(2000, 1, 1), "10y", spec="nok_irs6").kwargs
Out[26]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ef290>

CAD#

CORRA#

In [27]: defaults.spec["cad_irs"]
Out[27]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'tro',
 'payment_lag': 1,
 'currency': 'cad',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [28]: IRS(dt(2000, 1, 1), "10y", spec="cad_irs").kwargs
Out[28]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7ef530>

CORRA with tenor less than or equal to 1Y#

In [29]: defaults.spec["cad_irs_le_1y"]
Out[29]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'tro',
 'payment_lag': 1,
 'currency': 'cad',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [30]: IRS(dt(2000, 1, 1), "9m", spec="cad_irs_le_1y").kwargs
Out[30]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7efe30>

JPY#

TONA#

In [31]: defaults.spec["jpy_irs"]
Out[31]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'tyo',
 'payment_lag': 2,
 'currency': 'jpy',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [32]: IRS(dt(2000, 1, 1), "10y", spec="jpy_irs").kwargs
Out[32]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7efef0>

AUD#

AONIA#

In [33]: defaults.spec["aud_irs"]
Out[33]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'syd',
 'payment_lag': 2,
 'currency': 'aud',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [34]: IRS(dt(2000, 1, 1), "10y", spec="aud_irs").kwargs
Out[34]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c7edb50>

BBSW 6m#

In [35]: defaults.spec["aud_irs6"]
Out[35]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'syd',
 'payment_lag': 0,
 'currency': 'aud',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(0)'}

In [36]: IRS(dt(2000, 1, 1), "10y", spec="aud_irs6").kwargs
Out[36]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c8b41d0>

BBSW 3m#

In [37]: defaults.spec["aud_irs3"]
Out[37]: 
{'frequency': 'q',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'syd',
 'payment_lag': 0,
 'currency': 'aud',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(0)'}

In [38]: IRS(dt(2000, 1, 1), "2y", spec="aud_irs3").kwargs
Out[38]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c8b4230>

BBSW 3m with tenor greater than 3Y#

In [39]: defaults.spec["aud_irs3_gt_3y"]
Out[39]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'syd',
 'payment_lag': 0,
 'currency': 'aud',
 'convention': 'act365f',
 'leg2_frequency': 'q',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(0)'}

In [40]: IRS(dt(2000, 1, 1), "10y", spec="aud_irs3_gt_3y").kwargs
Out[40]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x1175051f0>

NZD#

OCR#

In [41]: defaults.spec["nzd_irs"]
Out[41]: 
{'frequency': 'a',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'wlg',
 'payment_lag': 2,
 'currency': 'nzd',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [42]: IRS(dt(2000, 1, 1), "10y", spec="nzd_irs").kwargs
Out[42]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x10f878050>

NFIX 6m#

In [43]: defaults.spec["nzd_irs6"]
Out[43]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'wlg',
 'payment_lag': 0,
 'currency': 'nzd',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(0)'}

In [44]: IRS(dt(2000, 1, 1), "10y", spec="nzd_irs6").kwargs
Out[44]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x112cb7e30>

NFIX 3m#

In [45]: defaults.spec["nzd_irs3"]
Out[45]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': True,
 'modifier': 'mf',
 'calendar': 'wlg',
 'payment_lag': 0,
 'currency': 'nzd',
 'convention': 'act365f',
 'leg2_frequency': 'q',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'ibor(0)'}

In [46]: IRS(dt(2000, 1, 1), "10y", spec="nzd_irs3").kwargs
Out[46]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x10f82a750>

MXN#

F-TIIE OIS#

In [47]: defaults.spec["mxn_irs"]
Out[47]: 
{'frequency': '28d',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'f',
 'calendar': 'mex',
 'payment_lag': 2,
 'currency': 'mxn',
 'convention': 'act360',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay'}

In [48]: IRS(dt(2000, 1, 1), "1040W", spec="mxn_irs").kwargs
Out[48]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x112cb7650>

INR#

Non-Deliverable OIS vs USD#

In [49]: defaults.spec["inr_ndirs"]
Out[49]: 
{'frequency': 's',
 'stub': 'shortfront',
 'eom': False,
 'modifier': 'mf',
 'calendar': 'mum',
 'payment_lag': 0,
 'currency': 'usd',
 'convention': 'act365f',
 'leg2_spread_compound_method': 'none_simple',
 'leg2_fixing_method': 'rfr_payment_delay',
 'pair': 'usdinr'}

In [50]: IRS(dt(2000, 1, 1), "10y", spec="inr_ndirs").kwargs
Out[50]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x14c8b4ef0>