FutureTicker

Struct FutureTicker 

Source
pub struct FutureTicker<'a> {
Show 24 fields pub symbol: &'a str, pub tick_direction: Option<&'a str>, pub price_24h_pcnt: Option<&'a str>, pub last_price: Option<&'a str>, pub prev_price_24h: Option<&'a str>, pub high_price_24h: Option<&'a str>, pub low_price_24h: Option<&'a str>, pub prev_price_1h: Option<&'a str>, pub mark_price: Option<&'a str>, pub index_price: Option<&'a str>, pub open_interest: Option<&'a str>, pub open_interest_value: Option<&'a str>, pub turnover_24h: Option<&'a str>, pub volume_24h: Option<&'a str>, pub next_funding_time: Option<&'a str>, pub funding_rate: Option<&'a str>, pub bid1_price: Option<&'a str>, pub bid1_size: Option<&'a str>, pub ask1_price: Option<&'a str>, pub ask1_size: Option<&'a str>, pub delivery_time: Option<&'a str>, pub basis_rate: Option<&'a str>, pub delivery_fee_rate: Option<&'a str>, pub predicted_delivery_price: Option<&'a str>,
}
Expand description

The future ticker data.

This data utilises the snapshot field and delta field. None means field value has not changed.

Fields§

§symbol: &'a str

Symbol name.

§tick_direction: Option<&'a str>

Tick direction.

§price_24h_pcnt: Option<&'a str>

Percentage change of market price in the last 24 hours.

§last_price: Option<&'a str>

Last price.

§prev_price_24h: Option<&'a str>

Market price 24 hours ago.

§high_price_24h: Option<&'a str>

The highest price in the last 24 hours.

§low_price_24h: Option<&'a str>

The lowest price in the last 24 hours.

§prev_price_1h: Option<&'a str>

Market price an hour ago.

§mark_price: Option<&'a str>

Mark price.

§index_price: Option<&'a str>

Index price.

§open_interest: Option<&'a str>

Open interest size.

§open_interest_value: Option<&'a str>

Open interest value.

§turnover_24h: Option<&'a str>

Turnover for 24h.

§volume_24h: Option<&'a str>

Volume for 24h.

§next_funding_time: Option<&'a str>

Next funding timestamp (ms).

§funding_rate: Option<&'a str>

Funding rate.

§bid1_price: Option<&'a str>

Best bid price.

§bid1_size: Option<&'a str>

Best bid size.

§ask1_price: Option<&'a str>

Best ask price.

§ask1_size: Option<&'a str>

Best ask size.

§delivery_time: Option<&'a str>

Delivery date time (UTC+0). Unique field for inverse futures.

§basis_rate: Option<&'a str>

Delivery fee rate. Unique field for inverse futures.

§delivery_fee_rate: Option<&'a str>

Delivery fee rate. Unique field for inverse futures.

§predicted_delivery_price: Option<&'a str>

Predicated delivery price. Unique field for inverse futures.

Trait Implementations§

Source§

impl<'a> Debug for FutureTicker<'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 FutureTicker<'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 FutureTicker<'a>

§

impl<'a> RefUnwindSafe for FutureTicker<'a>

§

impl<'a> Send for FutureTicker<'a>

§

impl<'a> Sync for FutureTicker<'a>

§

impl<'a> Unpin for FutureTicker<'a>

§

impl<'a> UnwindSafe for FutureTicker<'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,