pub struct CCSpotOHLCV {Show 35 fields
pub unit: String,
pub timestamp: i64,
pub type_: String,
pub market: String,
pub instrument: String,
pub mapped_instrument: String,
pub base: String,
pub quote: String,
pub base_id: i32,
pub quote_id: i32,
pub transform_function: String,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub first_trade_timestamp: Option<i64>,
pub last_trade_timestamp: Option<i64>,
pub first_trade_price: Option<f64>,
pub high_trade_price: Option<f64>,
pub high_trade_timestamp: Option<i64>,
pub low_trade_price: Option<f64>,
pub low_trade_timestamp: Option<i64>,
pub last_trade_price: Option<f64>,
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,
}
Expand description
Spot: Historical OHLCV+
Fields§
§unit: String
§timestamp: i64
§type_: String
§market: String
§instrument: String
§mapped_instrument: String
§base: String
§quote: String
§base_id: i32
§quote_id: i32
§transform_function: String
§open: f64
§high: f64
§low: f64
§close: f64
§first_trade_timestamp: Option<i64>
§last_trade_timestamp: Option<i64>
§first_trade_price: Option<f64>
§high_trade_price: Option<f64>
§high_trade_timestamp: Option<i64>
§low_trade_price: Option<f64>
§low_trade_timestamp: Option<i64>
§last_trade_price: Option<f64>
§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
Trait Implementations§
source§impl Debug for CCSpotOHLCV
impl Debug for CCSpotOHLCV
source§impl<'de> Deserialize<'de> for CCSpotOHLCV
impl<'de> Deserialize<'de> for CCSpotOHLCV
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 Freeze for CCSpotOHLCV
impl RefUnwindSafe for CCSpotOHLCV
impl Send for CCSpotOHLCV
impl Sync for CCSpotOHLCV
impl Unpin for CCSpotOHLCV
impl UnwindSafe for CCSpotOHLCV
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