pub struct PortfolioGreeks {
pub ts_init: UnixNanos,
pub ts_event: UnixNanos,
pub pnl: f64,
pub price: f64,
pub delta: f64,
pub gamma: f64,
pub vega: f64,
pub theta: f64,
}
Fields§
§ts_init: UnixNanos
§ts_event: UnixNanos
§pnl: f64
§price: f64
§delta: f64
§gamma: f64
§vega: f64
§theta: f64
Implementations§
Trait Implementations§
Source§impl Add for PortfolioGreeks
impl Add for PortfolioGreeks
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PortfolioGreeks
impl Debug for PortfolioGreeks
Source§impl Default for PortfolioGreeks
impl Default for PortfolioGreeks
Source§impl Display for PortfolioGreeks
impl Display for PortfolioGreeks
Source§impl From<GreeksData> for PortfolioGreeks
impl From<GreeksData> for PortfolioGreeks
Source§fn from(greeks: GreeksData) -> Self
fn from(greeks: GreeksData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PortfolioGreeks
impl RefUnwindSafe for PortfolioGreeks
impl Send for PortfolioGreeks
impl Sync for PortfolioGreeks
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy
. Read moreSource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
Source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
Source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
Source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more