IRS === .. currentmodule:: rateslib.instruments .. autoclass:: IRS :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~IRS.fixed_rate ~IRS.float_spread ~IRS.index_base ~IRS.leg2_fixed_rate ~IRS.leg2_float_spread ~IRS.leg2_index_base .. rubric:: Methods Summary .. autosummary:: ~IRS.analytic_delta ~IRS.cashflows ~IRS.cashflows_table ~IRS.delta ~IRS.gamma ~IRS.npv ~IRS.rate ~IRS.spread .. rubric:: Attributes Documentation .. autoattribute:: fixed_rate .. autoattribute:: float_spread .. 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