pub struct ChartFields {Show 25 fields
pub last_traded_volume: Option<f64>,
pub incremental_trading_volume: Option<f64>,
pub update_time: Option<f64>,
pub day_open_mid: Option<f64>,
pub day_net_change_mid: Option<f64>,
pub day_percentage_change_mid: Option<f64>,
pub day_high: Option<f64>,
pub day_low: Option<f64>,
pub bid: Option<f64>,
pub offer: Option<f64>,
pub last_traded_price: Option<f64>,
pub offer_open: Option<f64>,
pub offer_high: Option<f64>,
pub offer_low: Option<f64>,
pub offer_close: Option<f64>,
pub bid_open: Option<f64>,
pub bid_high: Option<f64>,
pub bid_low: Option<f64>,
pub bid_close: Option<f64>,
pub ltp_open: Option<f64>,
pub ltp_high: Option<f64>,
pub ltp_low: Option<f64>,
pub ltp_close: Option<f64>,
pub candle_end: Option<f64>,
pub candle_tick_count: Option<f64>,
}Expand description
Chart field data containing price, volume, and timestamp information
Fields§
§last_traded_volume: Option<f64>Last traded volume for the period (or tick)
incremental_trading_volume: Option<f64>Incremental trading volume for the period
update_time: Option<f64>Update time timestamp for the data point
day_open_mid: Option<f64>Day opening mid price
day_net_change_mid: Option<f64>Day net change in mid price
day_percentage_change_mid: Option<f64>Day percentage change in mid price
day_high: Option<f64>Day high price
day_low: Option<f64>Day low price
bid: Option<f64>Current bid price (for tick data)
offer: Option<f64>Current offer/ask price (for tick data)
last_traded_price: Option<f64>Last traded price (for tick data)
offer_open: Option<f64>Offer opening price for the candle period
offer_high: Option<f64>Offer high price for the candle period
offer_low: Option<f64>Offer low price for the candle period
offer_close: Option<f64>Offer closing price for the candle period
bid_open: Option<f64>Bid opening price for the candle period
bid_high: Option<f64>Bid high price for the candle period
bid_low: Option<f64>Bid low price for the candle period
bid_close: Option<f64>Bid closing price for the candle period
ltp_open: Option<f64>Last traded price opening for the candle period
ltp_high: Option<f64>Last traded price high for the candle period
ltp_low: Option<f64>Last traded price low for the candle period
ltp_close: Option<f64>Last traded price closing for the candle period
candle_end: Option<f64>Candle end timestamp
candle_tick_count: Option<f64>Number of ticks consolidated in this candle
Trait Implementations§
Source§impl Clone for ChartFields
impl Clone for ChartFields
Source§fn clone(&self) -> ChartFields
fn clone(&self) -> ChartFields
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChartFields
impl Debug for ChartFields
Source§impl Default for ChartFields
impl Default for ChartFields
Source§fn default() -> ChartFields
fn default() -> ChartFields
Source§impl<'de> Deserialize<'de> for ChartFields
impl<'de> Deserialize<'de> for ChartFields
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>,
Source§impl Display for ChartFields
impl Display for ChartFields
Auto Trait Implementations§
impl Freeze for ChartFields
impl RefUnwindSafe for ChartFields
impl Send for ChartFields
impl Sync for ChartFields
impl Unpin for ChartFields
impl UnwindSafe for ChartFields
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.