pub struct GreekMsg {
pub base_coin: String,
pub total_delta: Decimal,
pub total_gamma: Decimal,
pub total_vega: Decimal,
pub total_theta: Decimal,
}Expand description
A data point from the greeks private WS topic.
Sent once per second when there is an option position. Contains the aggregate net greeks across all option positions for the base coin.
Fields§
§base_coin: String§total_delta: Decimal§total_gamma: Decimal§total_vega: Decimal§total_theta: DecimalTrait Implementations§
Source§impl<'de> Deserialize<'de> for GreekMsg
impl<'de> Deserialize<'de> for GreekMsg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GreekMsg
Auto Trait Implementations§
impl Freeze for GreekMsg
impl RefUnwindSafe for GreekMsg
impl Send for GreekMsg
impl Sync for GreekMsg
impl Unpin for GreekMsg
impl UnsafeUnpin for GreekMsg
impl UnwindSafe for GreekMsg
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