quantlib.instruments.variance\_swap.SwapType ============================================ .. currentmodule:: quantlib.instruments.variance_swap .. autoclass:: SwapType :members: :show-inheritance: .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~SwapType.conjugate ~SwapType.bit_length ~SwapType.bit_count ~SwapType.to_bytes ~SwapType.from_bytes ~SwapType.as_integer_ratio ~SwapType.__init__ .. rubric:: Attributes .. autosummary:: ~SwapType.real ~SwapType.imag ~SwapType.numerator ~SwapType.denominator ~SwapType.Long ~SwapType.Short