pub struct TickerDeltaMsg {Show 27 fields
pub symbol: String,
pub tick_direction: Option<TickDirection>,
pub last_price: Option<Decimal>,
pub pre_open_price: Option<Decimal>,
pub pre_qty: Option<Decimal>,
pub cur_pre_listing_phase: Option<String>,
pub prev_price24h: Option<Decimal>,
pub price24h_pcnt: Option<Decimal>,
pub high_price24h: Option<Decimal>,
pub low_price24h: Option<Decimal>,
pub prev_price1h: Option<Decimal>,
pub mark_price: Option<Decimal>,
pub index_price: Option<Decimal>,
pub open_interest: Option<Decimal>,
pub open_interest_value: Option<Decimal>,
pub turnover24h: Option<Decimal>,
pub volume24h: Option<Decimal>,
pub funding_rate: Option<Decimal>,
pub next_funding_time: Option<Decimal>,
pub bid1_price: Option<Decimal>,
pub bid1_size: Option<Decimal>,
pub ask1_price: Option<Decimal>,
pub ask1_size: Option<Decimal>,
pub delivery_time: Option<Timestamp>,
pub basis_rate: Option<Decimal>,
pub delivery_fee_rate: Option<Decimal>,
pub predicted_delivery_price: Option<Decimal>,
}Expand description
Changed ticker fields of a symbol; unchanged fields are None.
Fields§
§symbol: StringSymbol name.
tick_direction: Option<TickDirection>Direction of the last price change.
last_price: Option<Decimal>Last traded price.
pre_open_price: Option<Decimal>Estimated open price (pre-market contracts).
pre_qty: Option<Decimal>Estimated open quantity (pre-market contracts).
cur_pre_listing_phase: Option<String>Current phase (pre-market contracts).
prev_price24h: Option<Decimal>Price 24 hours ago.
price24h_pcnt: Option<Decimal>Price change over 24 hours, as a ratio (0.01 = 1%).
high_price24h: Option<Decimal>Highest price in the last 24 hours.
low_price24h: Option<Decimal>Lowest price in the last 24 hours.
prev_price1h: Option<Decimal>Price an hour ago.
mark_price: Option<Decimal>Mark price.
index_price: Option<Decimal>Index price.
open_interest: Option<Decimal>Open interest size.
open_interest_value: Option<Decimal>Open interest value.
turnover24h: Option<Decimal>Turnover over 24 hours.
volume24h: Option<Decimal>Volume over 24 hours.
funding_rate: Option<Decimal>Funding rate.
next_funding_time: Option<Decimal>Next funding time, milliseconds.
bid1_price: Option<Decimal>Best bid price.
bid1_size: Option<Decimal>Best bid size.
ask1_price: Option<Decimal>Best ask price.
ask1_size: Option<Decimal>Best ask size.
delivery_time: Option<Timestamp>Delivery time, milliseconds (futures).
basis_rate: Option<Decimal>Basis rate (futures).
delivery_fee_rate: Option<Decimal>Delivery fee rate (futures).
predicted_delivery_price: Option<Decimal>Predicted delivery price (futures).
Trait Implementations§
Source§impl Debug for TickerDeltaMsg
impl Debug for TickerDeltaMsg
Source§impl<'de> Deserialize<'de> for TickerDeltaMsg
impl<'de> Deserialize<'de> for TickerDeltaMsg
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
Source§impl PartialEq for TickerDeltaMsg
impl PartialEq for TickerDeltaMsg
impl StructuralPartialEq for TickerDeltaMsg
Auto Trait Implementations§
impl Freeze for TickerDeltaMsg
impl RefUnwindSafe for TickerDeltaMsg
impl Send for TickerDeltaMsg
impl Sync for TickerDeltaMsg
impl Unpin for TickerDeltaMsg
impl UnsafeUnpin for TickerDeltaMsg
impl UnwindSafe for TickerDeltaMsg
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