XCS === .. currentmodule:: rateslib.instruments .. autoclass:: XCS :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~XCS.fixed_rate ~XCS.float_spread ~XCS.fx_fixings ~XCS.index_base ~XCS.leg2_fixed_rate ~XCS.leg2_float_spread ~XCS.leg2_index_base .. rubric:: Methods Summary .. autosummary:: ~XCS.analytic_delta ~XCS.cashflows ~XCS.cashflows_table ~XCS.delta ~XCS.gamma ~XCS.npv ~XCS.rate ~XCS.spread .. rubric:: Attributes Documentation .. autoattribute:: fixed_rate .. autoattribute:: float_spread .. autoattribute:: fx_fixings .. autoattribute:: index_base .. autoattribute:: leg2_fixed_rate .. autoattribute:: leg2_float_spread .. autoattribute:: leg2_index_base .. rubric:: Methods Documentation .. automethod:: analytic_delta .. automethod:: cashflows .. automethod:: cashflows_table .. automethod:: delta .. automethod:: gamma .. automethod:: npv .. automethod:: rate .. automethod:: spread