pub struct PortfolioGreeks {
pub npv: f64,
pub delta: f64,
pub gamma: f64,
pub vega: f64,
pub theta: f64,
pub rho: f64,
pub vanna: f64,
pub charm: f64,
pub zomma: f64,
pub volga: f64,
}Expand description
Quantity-weighted sums of the per-position Greeks.
Fields§
§npv: f64§delta: f64§gamma: f64§vega: f64§theta: f64§rho: f64§vanna: f64§charm: f64§zomma: f64§volga: f64Trait Implementations§
Source§impl Clone for PortfolioGreeks
impl Clone for PortfolioGreeks
Source§fn clone(&self) -> PortfolioGreeks
fn clone(&self) -> PortfolioGreeks
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 PortfolioGreeks
Source§impl Debug for PortfolioGreeks
impl Debug for PortfolioGreeks
Source§impl Default for PortfolioGreeks
impl Default for PortfolioGreeks
Source§fn default() -> PortfolioGreeks
fn default() -> PortfolioGreeks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PortfolioGreeks
impl RefUnwindSafe for PortfolioGreeks
impl Send for PortfolioGreeks
impl Sync for PortfolioGreeks
impl Unpin for PortfolioGreeks
impl UnsafeUnpin for PortfolioGreeks
impl UnwindSafe for PortfolioGreeks
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