Skip to main content

FIFOPerformanceSummaryUnderlying

Struct FIFOPerformanceSummaryUnderlying 

Source
pub struct FIFOPerformanceSummaryUnderlying {
Show 64 fields pub account_id: Option<String>, pub acct_alias: Option<String>, pub model: Option<String>, pub report_date: Option<NaiveDate>, pub symbol: Option<String>, pub description: Option<String>, pub conid: Option<String>, pub asset_category: Option<AssetCategory>, pub cusip: Option<String>, pub isin: Option<String>, pub listing_exchange: Option<String>, pub underlying_symbol: Option<String>, pub underlying_conid: Option<String>, pub realized_short_term_pnl: Option<Decimal>, pub realized_long_term_pnl: Option<Decimal>, pub realized_total_pnl: Option<Decimal>, pub unrealized_short_term_pnl: Option<Decimal>, pub unrealized_long_term_pnl: Option<Decimal>, pub unrealized_total_pnl: Option<Decimal>, pub total_income: Option<Decimal>, pub level_of_detail: Option<String>, pub security_id: Option<String>, pub underlying_security_id: Option<String>, pub underlying_listing_exchange: Option<String>, pub realized_st_profit: Option<Decimal>, pub realized_st_loss: Option<Decimal>, pub realized_lt_profit: Option<Decimal>, pub realized_lt_loss: Option<Decimal>, pub total_realized_pnl: Option<Decimal>, pub unrealized_profit: Option<Decimal>, pub unrealized_loss: Option<Decimal>, pub total_unrealized_pnl: Option<Decimal>, pub total_fifo_pnl: Option<Decimal>, pub total_realized_capital_gains_pnl: Option<Decimal>, pub total_realized_fx_pnl: Option<Decimal>, pub total_unrealized_capital_gains_pnl: Option<Decimal>, pub total_unrealized_fx_pnl: Option<Decimal>, pub total_capital_gains_pnl: Option<Decimal>, pub total_fx_pnl: Option<Decimal>, pub transferred_pnl: Option<Decimal>, pub transferred_capital_gains_pnl: Option<Decimal>, pub transferred_fx_pnl: Option<Decimal>, pub sedol: Option<String>, pub security_id_type: 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 unrealized_st_profit: Option<Decimal>, pub unrealized_st_loss: Option<Decimal>, pub unrealized_lt_profit: Option<Decimal>, pub unrealized_lt_loss: Option<Decimal>, pub cost_adj: Option<Decimal>, pub code: Option<String>, pub serial_number: Option<String>, pub delivery_type: Option<String>, pub commodity_type: Option<String>, pub fineness: Option<Decimal>, pub weight: Option<String>, pub sub_category: Option<String>, pub figi: Option<String>, pub issuer_country_code: Option<String>,
}
Expand description

FIFO performance summary by underlying security

Provides FIFO-based performance metrics including realized and unrealized P&L calculated using FIFO cost basis method.

Fields§

§account_id: Option<String>

Account ID

§acct_alias: Option<String>

Account alias

§model: Option<String>

Model

§report_date: Option<NaiveDate>

Report date

§symbol: Option<String>

Symbol

§description: Option<String>

Description

§conid: Option<String>

Contract ID

§asset_category: Option<AssetCategory>

Asset category

§cusip: Option<String>

CUSIP

§isin: Option<String>

ISIN

§listing_exchange: Option<String>

Listing exchange

§underlying_symbol: Option<String>

Underlying symbol

§underlying_conid: Option<String>

Underlying contract ID

§realized_short_term_pnl: Option<Decimal>

Realized short-term P&L

§realized_long_term_pnl: Option<Decimal>

Realized long-term P&L

§realized_total_pnl: Option<Decimal>

Realized total P&L

§unrealized_short_term_pnl: Option<Decimal>

Unrealized short-term P&L

§unrealized_long_term_pnl: Option<Decimal>

Unrealized long-term P&L

§unrealized_total_pnl: Option<Decimal>

Unrealized total P&L

§total_income: Option<Decimal>

Total income

§level_of_detail: Option<String>

Level of detail

§security_id: Option<String>

securityID (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)

§realized_st_profit: Option<Decimal>

realizedSTProfit (added for full ibflex coverage)

§realized_st_loss: Option<Decimal>

realizedSTLoss (added for full ibflex coverage)

§realized_lt_profit: Option<Decimal>

realizedLTProfit (added for full ibflex coverage)

§realized_lt_loss: Option<Decimal>

realizedLTLoss (added for full ibflex coverage)

§total_realized_pnl: Option<Decimal>

totalRealizedPnl (added for full ibflex coverage)

§unrealized_profit: Option<Decimal>

unrealizedProfit (added for full ibflex coverage)

§unrealized_loss: Option<Decimal>

unrealizedLoss (added for full ibflex coverage)

§total_unrealized_pnl: Option<Decimal>

totalUnrealizedPnl (added for full ibflex coverage)

§total_fifo_pnl: Option<Decimal>

totalFifoPnl (added for full ibflex coverage)

§total_realized_capital_gains_pnl: Option<Decimal>

totalRealizedCapitalGainsPnl (added for full ibflex coverage)

§total_realized_fx_pnl: Option<Decimal>

totalRealizedFxPnl (added for full ibflex coverage)

§total_unrealized_capital_gains_pnl: Option<Decimal>

totalUnrealizedCapitalGainsPnl (added for full ibflex coverage)

§total_unrealized_fx_pnl: Option<Decimal>

totalUnrealizedFxPnl (added for full ibflex coverage)

§total_capital_gains_pnl: Option<Decimal>

totalCapitalGainsPnl (added for full ibflex coverage)

§total_fx_pnl: Option<Decimal>

totalFxPnl (added for full ibflex coverage)

§transferred_pnl: Option<Decimal>

transferredPnl (added for full ibflex coverage)

§transferred_capital_gains_pnl: Option<Decimal>

transferredCapitalGainsPnl (added for full ibflex coverage)

§transferred_fx_pnl: Option<Decimal>

transferredFxPnl (added for full ibflex coverage)

§sedol: Option<String>

sedol (added for full ibflex coverage)

§security_id_type: Option<String>

securityIDType (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)

§unrealized_st_profit: Option<Decimal>

unrealizedSTProfit (added for full ibflex coverage)

§unrealized_st_loss: Option<Decimal>

unrealizedSTLoss (added for full ibflex coverage)

§unrealized_lt_profit: Option<Decimal>

unrealizedLTProfit (added for full ibflex coverage)

§unrealized_lt_loss: Option<Decimal>

unrealizedLTLoss (added for full ibflex coverage)

§cost_adj: Option<Decimal>

costAdj (added for full ibflex coverage)

§code: Option<String>

code (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)

§sub_category: Option<String>

subCategory (added for full ibflex coverage)

§figi: Option<String>

figi (added for full ibflex coverage)

§issuer_country_code: Option<String>

issuerCountryCode (added for full ibflex coverage)

Trait Implementations§

Source§

impl Clone for FIFOPerformanceSummaryUnderlying

Source§

fn clone(&self) -> FIFOPerformanceSummaryUnderlying

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 FIFOPerformanceSummaryUnderlying

Source§

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

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

impl<'de> Deserialize<'de> for FIFOPerformanceSummaryUnderlying

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 FIFOPerformanceSummaryUnderlying

Source§

fn eq(&self, other: &FIFOPerformanceSummaryUnderlying) -> 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 FIFOPerformanceSummaryUnderlying

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 FIFOPerformanceSummaryUnderlying

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>,