CCIndicesOHLCV

Struct CCIndicesOHLCV 

Source
pub struct CCIndicesOHLCV {
Show 26 fields pub unit: String, pub timestamp: i64, pub type_: String, pub market: String, pub instrument: String, pub open: f64, pub high: f64, pub low: f64, pub close: f64, pub first_message_timestamp: i64, pub last_message_timestamp: i64, pub first_message_value: f64, pub high_message_value: f64, pub high_message_timestamp: i64, pub low_message_value: f64, pub low_message_timestamp: i64, pub last_message_value: f64, pub total_index_updates: i32, pub volume: f64, pub volume_top_tier: f64, pub volume_direct: f64, pub volume_top_tier_direct: f64, pub quote: f64, pub quote_top_tier: f64, pub quote_direct: f64, pub quote_top_tier_direct: f64,
}
Expand description

Indices & Reference Rates: Historical OHLCV+

Fields§

§unit: String

The unit of the historical period update: MINUTE for minute, HOUR for hour and DAY for day.

§timestamp: i64

The timestamp in seconds of the histo period, for minute it would be every minute at the beginning of the minute, for hour it would be start of the hour and for daily it is 00:00 GMT/UTC

§type_: String

Type of the message.

§market: String

The index family - a group of indices sharing common characteristics like methodology, type of securities, geographical region, sector, or company size. It’s a crucial categorization in data analysis, aiding in performance comparison of different indices and understanding broader market trends.

§instrument: String

The specific financial asset pair that an index is tracking in unmapped format. In most cases this is a combiation of the base and quote assets of the pair.

§open: f64

The initial value (price) of an index at market opening on a trading period. It’s a significant data point used to understand the initial market sentiment, calculate various technical indicators, and for visual representation in charts to identify trends or patterns over time.

§high: f64

The maximum value an index (price) reaches during a specific trading period. It’s a significant data point used to understand the index’s potential and volatility, calculate the range of daily movement, and for visual representation in charts to identify trends or patterns over time.

§low: f64

The minimum value (price) an index reaches during a specific trading period. It’s a vital data point used to understand the index’s volatility and risk, calculate the range of daily movement, and for visual representation in charts to identify trends or patterns over time.

§close: f64

The last value (price) of an index at the end of a trading period. It’s a critical data point used for performance comparison, calculations like daily return or volatility, and for visual representation in charts to identify trends or patterns over time.

§first_message_timestamp: i64

The timestamp in seconds of the initial index update in the time period (only available when we have at least one index update in the time period).

§last_message_timestamp: i64

The timestamp in seconds of the last index update in the time period (only available when we have at least one index update in the time period).

§first_message_value: f64

The open value (price) based on the inital index update in the time period (only available when we have at least one index update in the time period).

§high_message_value: f64

The maximum value an index (price) based on all the index updates in the time period (only available when we have at least one index update in the time period).

§high_message_timestamp: i64

The timestamp in seconds of the maximum value an index (price) based on all the index updates in the time period (only available when we have at least one index update in the time period).

§low_message_value: f64

The minimum value an index (price) based on all the index updates in the time period (only available when we have at least one index update in the time period).

§low_message_timestamp: i64

The timestamp in seconds of the the minimum value an index (price) based on all the index updates in the time period (only available when we have at least one index update in the time period).

§last_message_value: f64

The last value (price) of an index based on the last index update in the time period (only available when we have at least one index update in the time period).

§total_index_updates: i32

The total number of message updates seen in this time period (0 when there no messages in the time period).

§volume: f64

The total number of base asset parts traded for the index instrument in the time period. It’s a critical metric that provides insights into market liquidity and activity level. High volumes indicate high investor interest and liquidity, while low volumes suggest the opposite.

§volume_top_tier: f64

The total number of top tier base asset parts traded for the index instrument in the time period. It’s a critical metric that provides insights into market liquidity and activity level. High volumes indicate high investor interest and liquidity, while low volumes suggest the opposite.

§volume_direct: f64

The total number of direct base asset parts traded for the index instrument in the time period. It’s a critical metric that provides insights into market liquidity and activity level. High volumes indicate high investor interest and liquidity, while low volumes suggest the opposite.

§volume_top_tier_direct: f64

The total number of top tier direct base asset parts traded for the index instrument in the time period. It’s a critical metric that provides insights into market liquidity and activity level. High volumes indicate high investor interest and liquidity, while low volumes suggest the opposite.

§quote: f64

The total number of quote (counter) asset parts traded for the index instrument in the time period. This offers insight into market activity and liquidity and is used widely in numerical analysis and data visualization.

§quote_top_tier: f64

The total number of top tier quote (counter) asset parts traded for the index instrument in the time period. This offers insight into market activity and liquidity and is used widely in numerical analysis and data visualization.

§quote_direct: f64

The total number of direct quote (counter) asset parts traded for the index instrument in the time period. This offers insight into market activity and liquidity and is used widely in numerical analysis and data visualization.

§quote_top_tier_direct: f64

The total number of top tier direct quote (counter) asset parts traded for the index instrument in the time period. This offers insight into market activity and liquidity and is used widely in numerical analysis and data visualization.

Trait Implementations§

Source§

impl Debug for CCIndicesOHLCV

Source§

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

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

impl<'de> Deserialize<'de> for CCIndicesOHLCV

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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
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>,

Source§

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