Enum FxMode
pub enum FxMode {
RatesHeld,
OutrightsHeld,
}Expand description
What an FX spot move holds fixed on the FX-implied discount curves.
An FX-implied curve derives a currency’s discount factors from a spot and forward outrights by covered interest parity; its spot is a free parameter, and the AD FX delta moves it with the outrights held. A scenario can hold either side.
Variants§
RatesHeld
The implied curves are left as they are: their rates are held, so the outrights a trade reads move with the spot. The default.
OutrightsHeld
The implied curves’ spots move with the pair and their outrights are held, so their rates are re-derived by covered interest parity — what the AD FX delta measures.
Trait Implementations§
impl Copy for FxMode
impl Eq for FxMode
impl StructuralPartialEq for FxMode
Auto Trait Implementations§
impl Freeze for FxMode
impl RefUnwindSafe for FxMode
impl Send for FxMode
impl Sync for FxMode
impl Unpin for FxMode
impl UnsafeUnpin for FxMode
impl UnwindSafe for FxMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more