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