pub struct DeribitBookSummaryRaw {Show 26 fields
pub instrument_name: String,
pub underlying_price: Option<Decimal>,
pub underlying_index: Option<String>,
pub mark_price: Option<Decimal>,
pub mid_price: Option<Decimal>,
pub bid_price: Option<Decimal>,
pub ask_price: Option<Decimal>,
pub last_price: Option<Decimal>,
pub mark_iv: Option<Decimal>,
pub bid_iv: Option<Decimal>,
pub ask_iv: Option<Decimal>,
pub interest_rate: Option<Decimal>,
pub open_interest: Option<Decimal>,
pub open_interest_value: Option<Decimal>,
pub volume: Option<Decimal>,
pub volume_usd: Option<Decimal>,
pub volume_notional: Option<Decimal>,
pub volume_btc: Option<Decimal>,
pub high: Option<Decimal>,
pub low: Option<Decimal>,
pub price_change: Option<Decimal>,
pub estimated_delivery_price: Option<Decimal>,
pub delivery_price: Option<Decimal>,
pub base_currency: Option<String>,
pub quote_currency: Option<String>,
pub creation_timestamp: i64,
}Expand description
Wire DTO for /public/get_book_summary_by_currency entries.
Pure venue payload (no engine timestamps). Convert to the domain
crate::data_types::DeribitBookSummary before emitting custom data.
Fields§
§instrument_name: StringUnique instrument identifier (e.g. “BTC-28MAR25-90000-C”)
underlying_price: Option<Decimal>The forward/underlying price for implied volatility calculations
underlying_index: Option<String>Name of the underlying future or index (e.g. “BTC-28MAR25” or “SYN.BTC-28MAR25”)
mark_price: Option<Decimal>Mark price for the instrument
mid_price: Option<Decimal>Mid price
bid_price: Option<Decimal>Best bid price
ask_price: Option<Decimal>Best ask price
last_price: Option<Decimal>Last traded price (last on the wire)
mark_iv: Option<Decimal>Mark implied volatility (options; may be absent on some product kinds)
bid_iv: Option<Decimal>Bid implied volatility (options)
ask_iv: Option<Decimal>Ask implied volatility (options)
interest_rate: Option<Decimal>Interest rate used in IV calculations (options)
open_interest: Option<Decimal>Open interest
open_interest_value: Option<Decimal>Open interest value when provided by the venue
volume: Option<Decimal>24h volume in contracts / base units
volume_usd: Option<Decimal>24h volume in USD
volume_notional: Option<Decimal>24h notional volume
volume_btc: Option<Decimal>24h volume in BTC (when provided)
high: Option<Decimal>24h high price
low: Option<Decimal>24h low price
price_change: Option<Decimal>24h price change (price_change on the wire)
estimated_delivery_price: Option<Decimal>Estimated delivery price
delivery_price: Option<Decimal>Settlement/delivery price when present
base_currency: Option<String>Base currency
quote_currency: Option<String>Quote currency
creation_timestamp: i64Instrument creation time (milliseconds since UNIX epoch)
Trait Implementations§
Source§impl Clone for DeribitBookSummaryRaw
impl Clone for DeribitBookSummaryRaw
Source§fn clone(&self) -> DeribitBookSummaryRaw
fn clone(&self) -> DeribitBookSummaryRaw
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeribitBookSummaryRaw
impl Debug for DeribitBookSummaryRaw
Source§impl<'de> Deserialize<'de> for DeribitBookSummaryRaw
impl<'de> Deserialize<'de> for DeribitBookSummaryRaw
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>,
Source§impl PartialEq for DeribitBookSummaryRaw
impl PartialEq for DeribitBookSummaryRaw
Source§impl Serialize for DeribitBookSummaryRaw
impl Serialize for DeribitBookSummaryRaw
impl StructuralPartialEq for DeribitBookSummaryRaw
Auto Trait Implementations§
impl Freeze for DeribitBookSummaryRaw
impl RefUnwindSafe for DeribitBookSummaryRaw
impl Send for DeribitBookSummaryRaw
impl Sync for DeribitBookSummaryRaw
impl Unpin for DeribitBookSummaryRaw
impl UnsafeUnpin for DeribitBookSummaryRaw
impl UnwindSafe for DeribitBookSummaryRaw
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more