Skip to main content

MTDYTDPerformanceSummary

Struct MTDYTDPerformanceSummary 

Source
pub struct MTDYTDPerformanceSummary {
Show 53 fields pub account_id: Option<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>, pub description: Option<String>, pub security_id: Option<String>, pub cusip: Option<String>, pub isin: Option<String>, pub listing_exchange: Option<String>, pub underlying_conid: Option<String>, pub underlying_security_id: Option<String>, pub underlying_listing_exchange: Option<String>, pub mtm_mtd: Option<Decimal>, pub mtm_ytd: Option<Decimal>, pub real_stmtd: Option<Decimal>, pub real_stytd: Option<Decimal>, pub real_ltmtd: Option<Decimal>, pub real_ltytd: Option<Decimal>, pub security_id_type: Option<String>, pub underlying_symbol: Option<String>, pub issuer: Option<String>, pub multiplier: Option<Decimal>, pub strike: Option<Decimal>, pub expiry: Option<NaiveDate>, pub put_call: Option<PutCall>, pub principal_adjust_factor: Option<Decimal>, pub realized_pnl_mtd: Option<Decimal>, pub realized_capital_gains_pnl_mtd: Option<Decimal>, pub realized_fx_pnl_mtd: Option<Decimal>, pub realized_pnl_ytd: Option<Decimal>, pub realized_capital_gains_pnl_ytd: Option<Decimal>, pub realized_fx_pnl_ytd: Option<Decimal>, pub broker_fees: Option<Decimal>, pub broker_fees_sec: Option<Decimal>, pub broker_fees_com: Option<Decimal>, pub broker_fees_mtd: Option<Decimal>, pub broker_fees_ytd: Option<Decimal>, pub serial_number: Option<String>, pub delivery_type: Option<String>, pub commodity_type: Option<String>, pub fineness: Option<Decimal>, pub weight: Option<String>,
}
Expand description

Month-to-date/Year-to-date performance summary

Fields§

§account_id: Option<String>

Account 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

§description: Option<String>

description (added for full ibflex coverage)

§security_id: Option<String>

securityID (added for full ibflex coverage)

§cusip: Option<String>

cusip (added for full ibflex coverage)

§isin: Option<String>

isin (added for full ibflex coverage)

§listing_exchange: Option<String>

listingExchange (added for full ibflex coverage)

§underlying_conid: Option<String>

underlyingConid (added for full ibflex coverage)

§underlying_security_id: Option<String>

underlyingSecurityID (added for full ibflex coverage)

§underlying_listing_exchange: Option<String>

underlyingListingExchange (added for full ibflex coverage)

§mtm_mtd: Option<Decimal>

mtmMTD (added for full ibflex coverage)

§mtm_ytd: Option<Decimal>

mtmYTD (added for full ibflex coverage)

§real_stmtd: Option<Decimal>

realSTMTD (added for full ibflex coverage)

§real_stytd: Option<Decimal>

realSTYTD (added for full ibflex coverage)

§real_ltmtd: Option<Decimal>

realLTMTD (added for full ibflex coverage)

§real_ltytd: Option<Decimal>

realLTYTD (added for full ibflex coverage)

§security_id_type: Option<String>

securityIDType (added for full ibflex coverage)

§underlying_symbol: Option<String>

underlyingSymbol (added for full ibflex coverage)

§issuer: Option<String>

issuer (added for full ibflex coverage)

§multiplier: Option<Decimal>

multiplier (added for full ibflex coverage)

§strike: Option<Decimal>

strike (added for full ibflex coverage)

§expiry: Option<NaiveDate>

expiry (added for full ibflex coverage)

§put_call: Option<PutCall>

putCall (added for full ibflex coverage)

§principal_adjust_factor: Option<Decimal>

principalAdjustFactor (added for full ibflex coverage)

§realized_pnl_mtd: Option<Decimal>

realizedPnlMTD (added for full ibflex coverage)

§realized_capital_gains_pnl_mtd: Option<Decimal>

realizedCapitalGainsPnlMTD (added for full ibflex coverage)

§realized_fx_pnl_mtd: Option<Decimal>

realizedFxPnlMTD (added for full ibflex coverage)

§realized_pnl_ytd: Option<Decimal>

realizedPnlYTD (added for full ibflex coverage)

§realized_capital_gains_pnl_ytd: Option<Decimal>

realizedCapitalGainsPnlYTD (added for full ibflex coverage)

§realized_fx_pnl_ytd: Option<Decimal>

realizedFxPnlYTD (added for full ibflex coverage)

§broker_fees: Option<Decimal>

brokerFees (added for full ibflex coverage)

§broker_fees_sec: Option<Decimal>

brokerFeesSec (added for full ibflex coverage)

§broker_fees_com: Option<Decimal>

brokerFeesCom (added for full ibflex coverage)

§broker_fees_mtd: Option<Decimal>

brokerFeesMTD (added for full ibflex coverage)

§broker_fees_ytd: Option<Decimal>

brokerFeesYTD (added for full ibflex coverage)

§serial_number: Option<String>

serialNumber (added for full ibflex coverage)

§delivery_type: Option<String>

deliveryType (added for full ibflex coverage)

§commodity_type: Option<String>

commodityType (added for full ibflex coverage)

§fineness: Option<Decimal>

fineness (added for full ibflex coverage)

§weight: Option<String>

weight (added for full ibflex coverage)

Trait Implementations§

Source§

impl Clone for MTDYTDPerformanceSummary

Source§

fn clone(&self) -> MTDYTDPerformanceSummary

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 MTDYTDPerformanceSummary

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MTDYTDPerformanceSummary

Source§

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

Source§

fn eq(&self, other: &MTDYTDPerformanceSummary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for MTDYTDPerformanceSummary

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for MTDYTDPerformanceSummary

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> 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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,