_MtmParams#
- class rateslib.periods.parameters._MtmParams(_fx_fixing_start, _fx_fixing_end, _currency)#
Bases:
objectParameters for Period cashflows associated with multiple
FXFixing.- Parameters:
Attributes Summary
The settlement currency of the period.
The
FXFixingmeasured at the end of the period.The
FXFixingmeasured at the start of the period.Whether the
reference_currencyandcurrencyare reversed in thepair.The pair that defines each
FXFixing.The reference currency of the period.
Methods Summary
Calculate the change between the FX fixing at the start and end of the period.
Attributes Documentation
- currency#
The settlement currency of the period.
- fx_reversed#
Whether the
reference_currencyandcurrencyare reversed in thepair.
- reference_currency#
The reference currency of the period.
Methods Documentation
- try_fixing_change(fx)#
Calculate the change between the FX fixing at the start and end of the period.