pub struct OptionTicker<'a> {Show 25 fields
pub symbol: &'a str,
pub bid_price: &'a str,
pub bid_size: &'a str,
pub bid_iv: &'a str,
pub ask_price: &'a str,
pub ask_size: &'a str,
pub ask_iv: &'a str,
pub last_price: &'a str,
pub high_price_24h: &'a str,
pub low_price_24h: &'a str,
pub mark_price: &'a str,
pub index_price: &'a str,
pub mark_price_iv: &'a str,
pub underlying_price: &'a str,
pub open_interest: &'a str,
pub turnover_24h: &'a str,
pub volume_24h: &'a str,
pub total_volume: &'a str,
pub total_turnover: &'a str,
pub delta: &'a str,
pub gamma: &'a str,
pub vega: &'a str,
pub theta: &'a str,
pub predicted_delivery_price: &'a str,
pub change_24h: &'a str,
}Expand description
The option ticker data. (snapshot only)
Fields§
§symbol: &'a strSymbol name.
bid_price: &'a strBest bid price.
bid_size: &'a strBest bid size.
bid_iv: &'a strBest bid iv.
ask_price: &'a strBest ask price.
ask_size: &'a strBest ask size.
ask_iv: &'a strBest ask iv.
last_price: &'a strLast price.
high_price_24h: &'a strThe highest price in the last 24 hours.
low_price_24h: &'a strThe lowest price in the last 24 hours.
mark_price: &'a strMarket price.
index_price: &'a strIndex price.
mark_price_iv: &'a strMark price iv.
underlying_price: &'a strUnderlying price.
open_interest: &'a strOpen interest size.
turnover_24h: &'a strTurnover for 24h.
volume_24h: &'a strVolume for 24h.
total_volume: &'a strTotal volume.
total_turnover: &'a strTotal turnover.
delta: &'a strDelta.
gamma: &'a strGamma.
vega: &'a strVega.
theta: &'a strTheta.
predicted_delivery_price: &'a strPredicated delivery price. It has value when 30 min before delivery.
change_24h: &'a strThe change in the last 24 hous.
Trait Implementations§
Source§impl<'a> Debug for OptionTicker<'a>
impl<'a> Debug for OptionTicker<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for OptionTicker<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OptionTicker<'a>
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<'a> Freeze for OptionTicker<'a>
impl<'a> RefUnwindSafe for OptionTicker<'a>
impl<'a> Send for OptionTicker<'a>
impl<'a> Sync for OptionTicker<'a>
impl<'a> Unpin for OptionTicker<'a>
impl<'a> UnwindSafe for OptionTicker<'a>
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