ClosedPosition
Static contents for a closed position.
-
Name Type Description AccountId String The id of the account to which the closed position belongs. Amount Decimal Sum volume of positions in instrument. AssetType AssetType The AssetType. BuyOrSell BuySell Closing direction - Buy or Sell ClientId String The id of the client to which the closed position belongs. ClosedProfitLoss Decimal Closed ProfitLoss in Instrument currency ClosedProfitLossInBaseCurrency Decimal Closed ProfitLoss in Base (client/ account) currency ClosingIndexRatio Decimal Closing IndexRatio, Applicable for Inflation linked bonds. ClosingMarketValue Decimal Market value at closing for non-options in instrument currency ClosingMarketValueInBaseCurrency Decimal Market value at closing for non-options in base currency ClosingMethod PositionClosingMethod The closing method of the position. Possible values: Explicit, Fifo. ClosingPositionId String The Id of closing position that caused closing.. ClosingPremium Decimal Premium for option positions that are closed, in instrument currency ClosingPremiumInBaseCurrency Decimal Premium for option positions that are closed, in base currency ClosingPrice Decimal Closing price ConversionRateInstrumentToBaseSettledClosing Bool True when the closing trades currency conversion rate has been settled (i.e. is fixed and not fluctuating). This is the case for accounts using Market Conversion-Rates. ConversionRateInstrumentToBaseSettledOpening Bool True when the opening trades currency conversion rate has been settled (i.e. is fixed and not fluctuating). This is the case for accounts using Market Conversion-Rates. CostClosing Decimal Total Cost in instrument currency CostClosingInBaseCurrency Decimal Total Cost in client/account currency CostOpening Decimal Total Cost in instrument currency CostOpeningInBaseCurrency Decimal Total Cost in client/account currency ExecutionTimeClose UtcDateTime The UTC date and time the position was closed. ExecutionTimeOpen UtcDateTime The UTC date and time the position was opened. ExpiryDate UtcDateTime The ExpiryDate. FxOptionData FXOptionsBaseData Fx option-related data. Only for fx options. NoticeDate UtcDateTime Futures only - The date on which the owner may be required to take physical delivery of the instrument commodity. OpeningIndexRatio Decimal Opening IndexRatio, Applicable for Inflation linked bonds. OpeningPositionId String The Id of opening position that has been closed. OpenPrice Decimal The price the instrument was traded at. ProfitLossCurrencyConversion Decimal The profit loss from currency conversion between position close and position open. ProfitLossOnTrade Decimal The P/L on the trade in the currency in which the instrument is traded. ProfitLossOnTradeInBaseCurrency Decimal The P/L in the client/account group/account currency. SrdSettlementDate UtcDateTime SRD Settlement Date Uic Int Unique id of the instrument.