Enum StripScheme
pub enum StripScheme {
ConstantBetweenQuotes,
PerCaplet,
}Expand description
How term cap quotes are turned into caplet vols.
Variants§
ConstantBetweenQuotes
One caplet vol per interval between consecutive quoted maturities, each cap solved on its whole value at its own strike.
PerCaplet
The caplet-by-caplet strip: the term vol curve is linear in time through the quotes and extrapolated linearly at both ends, read at each caplet’s maturity as the vol of the cap ending there, and each caplet is solved with the earlier ones fixed. Needs a common strike, as a strike column of a term vol surface has.
Implementations§
§impl StripScheme
impl StripScheme
Trait Implementations§
§impl Clone for StripScheme
impl Clone for StripScheme
§fn clone(&self) -> StripScheme
fn clone(&self) -> StripScheme
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 StripScheme
§impl Debug for StripScheme
impl Debug for StripScheme
§impl Default for StripScheme
impl Default for StripScheme
§fn default() -> StripScheme
fn default() -> StripScheme
Returns the “default value” for a type. Read more
impl Eq for StripScheme
§impl FromStr for StripScheme
impl FromStr for StripScheme
§impl PartialEq for StripScheme
impl PartialEq for StripScheme
impl StructuralPartialEq for StripScheme
Auto Trait Implementations§
impl Freeze for StripScheme
impl RefUnwindSafe for StripScheme
impl Send for StripScheme
impl Sync for StripScheme
impl Unpin for StripScheme
impl UnsafeUnpin for StripScheme
impl UnwindSafe for StripScheme
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