pub struct MTDYTDPerformanceSummary {Show 15 fields
pub account_id: String,
pub acct_alias: Option<String>,
pub model: Option<String>,
pub symbol: Option<String>,
pub conid: Option<String>,
pub asset_category: Option<AssetCategory>,
pub mtd_realized_pnl: Option<Decimal>,
pub mtd_unrealized_pnl: Option<Decimal>,
pub mtd_commissions: Option<Decimal>,
pub mtd_fees: Option<Decimal>,
pub ytd_realized_pnl: Option<Decimal>,
pub ytd_unrealized_pnl: Option<Decimal>,
pub ytd_commissions: Option<Decimal>,
pub ytd_fees: Option<Decimal>,
pub level_of_detail: Option<String>,
}Expand description
Month-to-date/Year-to-date performance summary
Fields§
§account_id: StringAccount ID
acct_alias: Option<String>Account alias
model: Option<String>Model
symbol: Option<String>Symbol
conid: Option<String>Contract ID
asset_category: Option<AssetCategory>Asset category
mtd_realized_pnl: Option<Decimal>MTD realized P&L
mtd_unrealized_pnl: Option<Decimal>MTD unrealized P&L
mtd_commissions: Option<Decimal>MTD commissions
mtd_fees: Option<Decimal>MTD fees
ytd_realized_pnl: Option<Decimal>YTD realized P&L
ytd_unrealized_pnl: Option<Decimal>YTD unrealized P&L
ytd_commissions: Option<Decimal>YTD commissions
ytd_fees: Option<Decimal>YTD fees
level_of_detail: Option<String>Level of detail
Trait Implementations§
Source§impl Clone for MTDYTDPerformanceSummary
impl Clone for MTDYTDPerformanceSummary
Source§fn clone(&self) -> MTDYTDPerformanceSummary
fn clone(&self) -> MTDYTDPerformanceSummary
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 MTDYTDPerformanceSummary
impl Debug for MTDYTDPerformanceSummary
Source§impl<'de> Deserialize<'de> for MTDYTDPerformanceSummary
impl<'de> Deserialize<'de> for MTDYTDPerformanceSummary
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 MTDYTDPerformanceSummary
impl PartialEq for MTDYTDPerformanceSummary
Source§impl Serialize for MTDYTDPerformanceSummary
impl Serialize for MTDYTDPerformanceSummary
impl StructuralPartialEq for MTDYTDPerformanceSummary
Auto Trait Implementations§
impl Freeze for MTDYTDPerformanceSummary
impl RefUnwindSafe for MTDYTDPerformanceSummary
impl Send for MTDYTDPerformanceSummary
impl Sync for MTDYTDPerformanceSummary
impl Unpin for MTDYTDPerformanceSummary
impl UnwindSafe for MTDYTDPerformanceSummary
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