pub struct DepthBuckets {
pub bid_within_10bps: f64,
pub ask_within_10bps: f64,
pub bid_within_50bps: f64,
pub ask_within_50bps: f64,
pub bid_within_100bps: f64,
pub ask_within_100bps: f64,
}Expand description
Cumulative depth at 10/50/100 bps tiers from mid.
Fields§
§bid_within_10bps: f64Cumulative bid size within 10 bps of mid (contracts).
ask_within_10bps: f64Cumulative ask size within 10 bps of mid (contracts).
bid_within_50bps: f64Cumulative bid size within 50 bps of mid (contracts).
ask_within_50bps: f64Cumulative ask size within 50 bps of mid (contracts).
bid_within_100bps: f64Cumulative bid size within 100 bps of mid (contracts).
ask_within_100bps: f64Cumulative ask size within 100 bps of mid (contracts).
Trait Implementations§
Source§impl Clone for DepthBuckets
impl Clone for DepthBuckets
Source§fn clone(&self) -> DepthBuckets
fn clone(&self) -> DepthBuckets
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 DepthBuckets
impl Debug for DepthBuckets
Source§impl<'de> Deserialize<'de> for DepthBuckets
impl<'de> Deserialize<'de> for DepthBuckets
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
Auto Trait Implementations§
impl Freeze for DepthBuckets
impl RefUnwindSafe for DepthBuckets
impl Send for DepthBuckets
impl Sync for DepthBuckets
impl Unpin for DepthBuckets
impl UnsafeUnpin for DepthBuckets
impl UnwindSafe for DepthBuckets
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