Enum VolSurfaceId
pub enum VolSurfaceId {
Fx(CurrencyPair),
Swaption(Currency),
Cap(Currency),
BondYield(String),
Credit(CreditCurveId),
YoyInflation(String),
CpiInflation(String),
FutureOption(ListedFutureId),
Equity(String),
}Expand description
A volatility surface, by the store it is pinned in and its key.
The identity a vol scenario selects by — the surface-level counterpart of
the node keys (FxVolNode, RateVolNode, CapVolNode,
BondYieldVolNode, CreditVolNode) a vega ladder reports.
Variants§
Fx(CurrencyPair)
A pair’s delta-quoted FX vol surface.
Swaption(Currency)
A currency’s swaption vol surface.
Cap(Currency)
A currency’s cap vol surface.
BondYield(String)
A bond yield vol surface, keyed by a currency code or by the security an option names.
Credit(CreditCurveId)
A credit name’s CDS option vol surface — a single name’s entity or an index’s code.
YoyInflation(String)
A price index’s year-on-year inflation optionlet vol surface.
CpiInflation(String)
A price index’s zero-coupon CPI option vol surface.
FutureOption(ListedFutureId)
A listed future’s option vol surface — every option exercising into that contract, serial and quarterly, reads it.
Equity(String)
An equity’s option vol surface, by the name the market quotes its spot under: listed expiry dates × absolute strikes.
Implementations§
§impl VolSurfaceId
impl VolSurfaceId
§impl VolSurfaceId
impl VolSurfaceId
fn as_ref(&self) -> VolSurfaceIdRef<'_>
Trait Implementations§
§impl Clone for VolSurfaceId
impl Clone for VolSurfaceId
§fn clone(&self) -> VolSurfaceId
fn clone(&self) -> VolSurfaceId
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for VolSurfaceId
impl Debug for VolSurfaceId
§impl Display for VolSurfaceId
impl Display for VolSurfaceId
impl Eq for VolSurfaceId
§impl FromStr for VolSurfaceId
The inverse of Display.
impl FromStr for VolSurfaceId
The inverse of Display.