XCS#
EUR#
EUR/USD#
In [1]: defaults.spec["eurusd_xcs"]
Out[1]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'tgt,nyc',
'payment_lag': 2,
'currency': 'eur',
'convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'eurusd'}
In [2]: XCS(dt(2000, 1, 1), "10y", spec="eurusd_xcs").kwargs
Out[2]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4d2a50>
EUR/GBP#
In [3]: defaults.spec["eurgbp_xcs"]
Out[3]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'tgt,ldn',
'payment_lag': 2,
'currency': 'eur',
'convention': 'act360',
'leg2_convention': 'act365f',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'eurgbp'}
In [4]: XCS(dt(2000, 1, 1), "10y", spec="eurgbp_xcs").kwargs
Out[4]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4483b0>
GBP#
GBP/USD#
In [5]: defaults.spec["gbpusd_xcs"]
Out[5]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'ldn,nyc',
'payment_lag': 2,
'currency': 'gbp',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'gbpusd'}
In [6]: XCS(dt(2000, 1, 1), "10y", spec="gbpusd_xcs").kwargs
Out[6]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4d2990>
GBP/EUR#
In [7]: defaults.spec["gbpeur_xcs"]
Out[7]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'tgt,ldn',
'payment_lag': 2,
'currency': 'gbp',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'eurgbp'}
In [8]: XCS(dt(2000, 1, 1), "10y", spec="gbpeur_xcs").kwargs
Out[8]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d2836b0>
JPY#
JPY/USD#
In [9]: defaults.spec["jpyusd_xcs"]
Out[9]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'nyc,tyo',
'payment_lag': 2,
'currency': 'jpy',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'usdjpy'}
In [10]: XCS(dt(2000, 1, 1), "10y", spec="jpyusd_xcs").kwargs
Out[10]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d44b110>
AUD#
AUD/USD (AONIA)#
In [11]: defaults.spec["audusd_xcs"]
Out[11]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'nyc,syd',
'payment_lag': 2,
'currency': 'aud',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'rfr_payment_delay',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'audusd'}
In [12]: XCS(dt(2000, 1, 1), "10y", spec="audusd_xcs").kwargs
Out[12]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4d1850>
AUD/USD (BBSW 3m)#
In [13]: defaults.spec["audusd_xcs3"]
Out[13]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'nyc,syd',
'payment_lag': 2,
'currency': 'aud',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'ibor',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'audusd'}
In [14]: XCS(dt(2000, 1, 1), "10y", spec="audusd_xcs3").kwargs
Out[14]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4c0a70>
NZD#
NZD/USD (NFix 3m)#
In [15]: defaults.spec["nzdusd_xcs3"]
Out[15]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'nyc,wlg',
'payment_lag': 2,
'currency': 'nzd',
'convention': 'act365f',
'leg2_convention': 'act360',
'spread_compound_method': 'none_simple',
'fixing_method': 'ibor',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'rfr_payment_delay',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'nzdusd'}
In [16]: XCS(dt(2000, 1, 1), "10y", spec="nzdusd_xcs3").kwargs
Out[16]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4c2570>
NZD/AUD (NFix 3m/BBSW 3m)#
In [17]: defaults.spec["nzdaud_xcs3"]
Out[17]:
{'frequency': 'q',
'stub': 'shortfront',
'eom': False,
'modifier': 'mf',
'calendar': 'nyc,wlg,syd',
'payment_lag': 2,
'currency': 'nzd',
'convention': 'act365f',
'leg2_convention': 'act365f',
'spread_compound_method': 'none_simple',
'fixing_method': 'ibor',
'method_param': 0,
'leg2_spread_compound_method': 'none_simple',
'leg2_fixing_method': 'ibor',
'leg2_method_param': 0,
'payment_lag_exchange': 0,
'fixed': False,
'leg2_fixed': False,
'leg2_mtm': True,
'pair': 'audnzd'}
In [18]: XCS(dt(2000, 1, 1), "10y", spec="nzdaud_xcs3").kwargs
Out[18]: <rateslib.instruments.protocols.kwargs._KWArgs at 0x16d4c3950>