Skip to main content

SymbolInfo

Struct SymbolInfo 

Source
pub struct SymbolInfo {
Show 96 fields pub custom: bool, pub chart_mode: i64, pub select: bool, pub visible: bool, pub session_deals: i64, pub session_buy_orders: i64, pub session_sell_orders: i64, pub volume: i64, pub volume_high: i64, pub volume_low: i64, pub time: i64, pub digits: i64, pub spread: i64, pub spread_float: bool, pub ticks_book_depth: i64, pub trade_calc_mode: i64, pub trade_mode: i64, pub start_time: i64, pub expiration_time: i64, pub trade_stops_level: i64, pub trade_freeze_level: i64, pub trade_exe_mode: i64, pub swap_mode: i64, pub swap_rollover3days: i64, pub margin_hedged_use_leg: bool, pub expiration_mode: i64, pub filling_mode: i64, pub order_mode: i64, pub order_gtc_mode: i64, pub option_mode: i64, pub option_right: i64, pub bid: f64, pub bidhigh: f64, pub bidlow: f64, pub ask: f64, pub askhigh: f64, pub asklow: f64, pub last: f64, pub lasthigh: f64, pub lastlow: f64, pub volume_real: f64, pub volumehigh_real: f64, pub volumelow_real: f64, pub option_strike: f64, pub point: f64, pub trade_tick_value: f64, pub trade_tick_value_profit: f64, pub trade_tick_value_loss: f64, pub trade_tick_size: f64, pub trade_contract_size: f64, pub trade_accrued_interest: f64, pub trade_face_value: f64, pub trade_liquidity_rate: f64, pub volume_min: f64, pub volume_max: f64, pub volume_step: f64, pub volume_limit: f64, pub swap_long: f64, pub swap_short: f64, pub margin_initial: f64, pub margin_maintenance: f64, pub session_volume: f64, pub session_turnover: f64, pub session_interest: f64, pub session_buy_orders_volume: f64, pub session_sell_orders_volume: f64, pub session_open: f64, pub session_close: f64, pub session_aw: f64, pub session_price_settlement: f64, pub session_price_limit_min: f64, pub session_price_limit_max: f64, pub margin_hedged: f64, pub price_change: f64, pub price_volatility: f64, pub price_theoretical: f64, pub price_greeks_delta: f64, pub price_greeks_theta: f64, pub price_greeks_gamma: f64, pub price_greeks_vega: f64, pub price_greeks_rho: f64, pub price_greeks_omega: f64, pub price_sensitivity: f64, pub basis: String, pub category: String, pub currency_base: String, pub currency_profit: String, pub currency_margin: String, pub bank: String, pub description: String, pub exchange: String, pub formula: String, pub isin: String, pub name: String, pub page: String, pub path: String,
}

Fields§

§custom: bool§chart_mode: i64§select: bool§visible: bool§session_deals: i64§session_buy_orders: i64§session_sell_orders: i64§volume: i64§volume_high: i64§volume_low: i64§time: i64§digits: i64§spread: i64§spread_float: bool§ticks_book_depth: i64§trade_calc_mode: i64§trade_mode: i64§start_time: i64§expiration_time: i64§trade_stops_level: i64§trade_freeze_level: i64§trade_exe_mode: i64§swap_mode: i64§swap_rollover3days: i64§margin_hedged_use_leg: bool§expiration_mode: i64§filling_mode: i64§order_mode: i64§order_gtc_mode: i64§option_mode: i64§option_right: i64§bid: f64§bidhigh: f64§bidlow: f64§ask: f64§askhigh: f64§asklow: f64§last: f64§lasthigh: f64§lastlow: f64§volume_real: f64§volumehigh_real: f64§volumelow_real: f64§option_strike: f64§point: f64§trade_tick_value: f64§trade_tick_value_profit: f64§trade_tick_value_loss: f64§trade_tick_size: f64§trade_contract_size: f64§trade_accrued_interest: f64§trade_face_value: f64§trade_liquidity_rate: f64§volume_min: f64§volume_max: f64§volume_step: f64§volume_limit: f64§swap_long: f64§swap_short: f64§margin_initial: f64§margin_maintenance: f64§session_volume: f64§session_turnover: f64§session_interest: f64§session_buy_orders_volume: f64§session_sell_orders_volume: f64§session_open: f64§session_close: f64§session_aw: f64§session_price_settlement: f64§session_price_limit_min: f64§session_price_limit_max: f64§margin_hedged: f64§price_change: f64§price_volatility: f64§price_theoretical: f64§price_greeks_delta: f64§price_greeks_theta: f64§price_greeks_gamma: f64§price_greeks_vega: f64§price_greeks_rho: f64§price_greeks_omega: f64§price_sensitivity: f64§basis: String§category: String§currency_base: String§currency_profit: String§currency_margin: String§bank: String§description: String§exchange: String§formula: String§isin: String§name: String§page: String§path: String

Trait Implementations§

Source§

impl Clone for SymbolInfo

Source§

fn clone(&self) -> SymbolInfo

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SymbolInfo

Source§

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

Formats the value using the given formatter. 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. 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.