quantlib.instruments.swap.Swap ============================== .. currentmodule:: quantlib.instruments.swap .. autoclass:: Swap :members: :show-inheritance: .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~Swap.__init__ ~Swap.endDiscounts ~Swap.leg ~Swap.leg_BPS ~Swap.leg_NPV ~Swap.npv_date_discount ~Swap.set_pricing_engine ~Swap.startDiscounts .. rubric:: Attributes .. autosummary:: ~Swap.Payer ~Swap.Receiver ~Swap.is_expired ~Swap.maturity_date ~Swap.net_present_value ~Swap.npv ~Swap.start_date ~Swap.valuation_date