OptionTicker

Struct OptionTicker 

Source
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 str

Symbol name.

§bid_price: &'a str

Best bid price.

§bid_size: &'a str

Best bid size.

§bid_iv: &'a str

Best bid iv.

§ask_price: &'a str

Best ask price.

§ask_size: &'a str

Best ask size.

§ask_iv: &'a str

Best ask iv.

§last_price: &'a str

Last price.

§high_price_24h: &'a str

The highest price in the last 24 hours.

§low_price_24h: &'a str

The lowest price in the last 24 hours.

§mark_price: &'a str

Market price.

§index_price: &'a str

Index price.

§mark_price_iv: &'a str

Mark price iv.

§underlying_price: &'a str

Underlying price.

§open_interest: &'a str

Open interest size.

§turnover_24h: &'a str

Turnover for 24h.

§volume_24h: &'a str

Volume for 24h.

§total_volume: &'a str

Total volume.

§total_turnover: &'a str

Total turnover.

§delta: &'a str

Delta.

§gamma: &'a str

Gamma.

§vega: &'a str

Vega.

§theta: &'a str

Theta.

§predicted_delivery_price: &'a str

Predicated delivery price. It has value when 30 min before delivery.

§change_24h: &'a str

The change in the last 24 hous.

Trait Implementations§

Source§

impl<'a> Debug for OptionTicker<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de: 'a, 'a> Deserialize<'de> for OptionTicker<'a>

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,