pub struct DeltaNormalVar {
pub var: f64,
pub std: f64,
pub component_var: Vec<f64>,
pub marginal_var: Vec<f64>,
}Expand description
Delta-normal (variance-covariance) VaR of a linear book with the Euler decomposition into per-position components.
Fields§
§var: f64Total portfolio VaR.
std: f64Portfolio P&L standard deviation.
component_var: Vec<f64>Component VaR per position (sums exactly to var).
marginal_var: Vec<f64>Marginal VaR per position (d var / d exposure_i).
Trait Implementations§
Source§impl Clone for DeltaNormalVar
impl Clone for DeltaNormalVar
Source§fn clone(&self) -> DeltaNormalVar
fn clone(&self) -> DeltaNormalVar
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 moreAuto Trait Implementations§
impl Freeze for DeltaNormalVar
impl RefUnwindSafe for DeltaNormalVar
impl Send for DeltaNormalVar
impl Sync for DeltaNormalVar
impl Unpin for DeltaNormalVar
impl UnsafeUnpin for DeltaNormalVar
impl UnwindSafe for DeltaNormalVar
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