ccdata_api::schemas::data_api::options

Struct CCOptionsOHLCV

source
pub struct CCOptionsOHLCV {
Show 42 fields pub unit: String, pub timestamp: i64, pub type_: String, pub market: String, pub instrument: String, pub mapped_instrument: String, pub index_underlying: String, pub quote_currency: String, pub settlement_currency: String, pub contract_currency: String, pub strike_currency: String, pub index_underlying_id: i32, pub quote_currency_id: i32, pub settlement_currency_id: i32, pub contract_currency_id: i32, pub strike_currency_id: i32, pub transform_function: String, pub open: f64, pub high: f64, pub low: f64, pub close: f64, pub number_of_contracts: i64, pub total_trades: i64, pub total_trades_buy: i64, pub total_trades_sell: i64, pub total_trades_unknown: i64, pub volume: f64, pub quote_volume: f64, pub volume_buy: f64, pub quote_volume_buy: f64, pub volume_sell: f64, pub quote_volume_sell: f64, pub volume_unknown: f64, pub quote_volume_unknown: f64, pub notional_volume: f64, pub notional_quote_volume: f64, pub notional_volume_buy: f64, pub notional_quote_volume_buy: f64, pub notional_volume_sell: f64, pub notional_quote_volume_sell: f64, pub notional_volume_unknown: f64, pub notional_quote_volume_unknown: f64,
}
Expand description

Options: Historical OHLCV+

Fields§

§unit: String§timestamp: i64§type_: String§market: String§instrument: String§mapped_instrument: String§index_underlying: String§quote_currency: String§settlement_currency: String§contract_currency: String§strike_currency: String§index_underlying_id: i32§quote_currency_id: i32§settlement_currency_id: i32§contract_currency_id: i32§strike_currency_id: i32§transform_function: String§open: f64§high: f64§low: f64§close: f64§number_of_contracts: i64§total_trades: i64§total_trades_buy: i64§total_trades_sell: i64§total_trades_unknown: i64§volume: f64§quote_volume: f64§volume_buy: f64§quote_volume_buy: f64§volume_sell: f64§quote_volume_sell: f64§volume_unknown: f64§quote_volume_unknown: f64§notional_volume: f64§notional_quote_volume: f64§notional_volume_buy: f64§notional_quote_volume_buy: f64§notional_volume_sell: f64§notional_quote_volume_sell: f64§notional_volume_unknown: f64§notional_quote_volume_unknown: f64

Trait Implementations§

source§

impl Debug for CCOptionsOHLCV

source§

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

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

impl<'de> Deserialize<'de> for CCOptionsOHLCV

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§

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> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, 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<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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