Struct IndexIntrinsic
pub struct IndexIntrinsic {
pub value: f64,
pub spread: f64,
}Expand description
An index CDS measured against its constituents: the replicating single-name portfolio’s value, and its duration-weighted spread.
Fields§
§value: f64Σ wᵢ·Vᵢ: each constituent’s single-name contract on the index’s
terms, valued on its own curve, weighted by its share of the original
index notional.
spread: f64Σ wᵢ·RPV01ᵢ·Sᵢ / Σ wᵢ·RPV01ᵢ: the constituents’ par spreads weighted
by their risky annuities — the spread the index would trade at with no
basis. The index’s own par spread less this is the index basis.
Trait Implementations§
§impl Clone for IndexIntrinsic
impl Clone for IndexIntrinsic
§fn clone(&self) -> IndexIntrinsic
fn clone(&self) -> IndexIntrinsic
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 IndexIntrinsic
§impl Debug for IndexIntrinsic
impl Debug for IndexIntrinsic
§impl PartialEq for IndexIntrinsic
impl PartialEq for IndexIntrinsic
impl StructuralPartialEq for IndexIntrinsic
Auto Trait Implementations§
impl Freeze for IndexIntrinsic
impl RefUnwindSafe for IndexIntrinsic
impl Send for IndexIntrinsic
impl Sync for IndexIntrinsic
impl Unpin for IndexIntrinsic
impl UnsafeUnpin for IndexIntrinsic
impl UnwindSafe for IndexIntrinsic
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