pub struct SymbolSummary {Show 14 fields
pub account_id: String,
pub acct_alias: Option<String>,
pub model: Option<String>,
pub symbol: Option<String>,
pub description: Option<String>,
pub conid: Option<String>,
pub asset_category: Option<AssetCategory>,
pub total_buy_quantity: Option<Decimal>,
pub total_sell_quantity: Option<Decimal>,
pub total_buy_value: Option<Decimal>,
pub total_sell_value: Option<Decimal>,
pub total_commission: Option<Decimal>,
pub realized_pnl: Option<Decimal>,
pub currency: Option<String>,
}Expand description
Symbol summary (aggregated trading data by symbol)
Fields§
§account_id: StringAccount ID
acct_alias: Option<String>Account alias
model: Option<String>Model
symbol: Option<String>Symbol
description: Option<String>Description
conid: Option<String>Contract ID
asset_category: Option<AssetCategory>Asset category
total_buy_quantity: Option<Decimal>Total buy quantity
total_sell_quantity: Option<Decimal>Total sell quantity
total_buy_value: Option<Decimal>Total buy value
total_sell_value: Option<Decimal>Total sell value
total_commission: Option<Decimal>Total commission
realized_pnl: Option<Decimal>Realized P&L
currency: Option<String>Currency
Trait Implementations§
Source§impl Clone for SymbolSummary
impl Clone for SymbolSummary
Source§fn clone(&self) -> SymbolSummary
fn clone(&self) -> SymbolSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SymbolSummary
impl Debug for SymbolSummary
Source§impl<'de> Deserialize<'de> for SymbolSummary
impl<'de> Deserialize<'de> for SymbolSummary
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
Source§impl PartialEq for SymbolSummary
impl PartialEq for SymbolSummary
Source§impl Serialize for SymbolSummary
impl Serialize for SymbolSummary
impl StructuralPartialEq for SymbolSummary
Auto Trait Implementations§
impl Freeze for SymbolSummary
impl RefUnwindSafe for SymbolSummary
impl Send for SymbolSummary
impl Sync for SymbolSummary
impl Unpin for SymbolSummary
impl UnwindSafe for SymbolSummary
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