pub struct KLineRow {
pub start_time: Timestamp,
pub open_price: Decimal,
pub high_price: Decimal,
pub low_price: Decimal,
pub close_price: Decimal,
pub volume: Decimal,
pub turnover: Decimal,
}Fields§
§start_time: TimestampStart time of the candle (ms)
open_price: DecimalOpen price
high_price: DecimalHighest price
low_price: DecimalLowest price
close_price: DecimalClose price. Is the last traded price when the candle is not closed
volume: DecimalTrade volume. Unit of contract: pieces of contract. Unit of spot: quantity of coins
turnover: DecimalTurnover. Unit of figure: quantity of quota coin
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KLineRow
impl<'de> Deserialize<'de> for KLineRow
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
impl StructuralPartialEq for KLineRow
Auto Trait Implementations§
impl Freeze for KLineRow
impl RefUnwindSafe for KLineRow
impl Send for KLineRow
impl Sync for KLineRow
impl Unpin for KLineRow
impl UnsafeUnpin for KLineRow
impl UnwindSafe for KLineRow
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