Enum StrategyQuote
enum StrategyQuote {
Lognormal(CurrencyPair),
Normal(Currency),
LognormalRate(Currency),
}Expand description
What one strategy quotes under: the formula and the market it shares. Two legs belong to one strategy when these are equal.
Variants§
Lognormal(CurrencyPair)
FX options on one pair, Black-76 on the parity forward.
Normal(Currency)
Swaptions on one currency’s normal surface, Bachelier.
LognormalRate(Currency)
Swaptions on one currency’s lognormal surface, Black-76.
Implementations§
§impl StrategyQuote
impl StrategyQuote
Trait Implementations§
§impl Clone for StrategyQuote
impl Clone for StrategyQuote
§fn clone(&self) -> StrategyQuote
fn clone(&self) -> StrategyQuote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StrategyQuote
§impl Debug for StrategyQuote
impl Debug for StrategyQuote
impl Eq for StrategyQuote
§impl PartialEq for StrategyQuote
impl PartialEq for StrategyQuote
impl StructuralPartialEq for StrategyQuote
Auto Trait Implementations§
impl Freeze for StrategyQuote
impl RefUnwindSafe for StrategyQuote
impl Send for StrategyQuote
impl Sync for StrategyQuote
impl Unpin for StrategyQuote
impl UnsafeUnpin for StrategyQuote
impl UnwindSafe for StrategyQuote
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