ClosedPosition
Static contents for a closed position.
-
Name Type Description AccountId String The id of the account to which the closed position belongs. Amount Number 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 Number Closed ProfitLoss in Instrument currency ClosedProfitLossInBaseCurrency Number Closed ProfitLoss in Base (client/ account) currency ClosingIndexRatio Number Closing IndexRatio, Applicable for Inflation linked bonds. ClosingMarketValue Number Market value at closing for non-options in instrument currency ClosingMarketValueInBaseCurrency Number 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 Number Premium for option positions that are closed, in instrument currency ClosingPremiumInBaseCurrency Number Premium for option positions that are closed, in base currency ClosingPrice Number Closing price ConversionRateInstrumentToBaseSettledClosing Boolean 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 Boolean 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 Number Total Cost in instrument currency CostClosingInBaseCurrency Number Total Cost in client/account currency CostOpening Number Total Cost in instrument currency CostOpeningInBaseCurrency Number 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 Number Opening IndexRatio, Applicable for Inflation linked bonds. OpeningPositionId String The Id of opening position that has been closed. OpenPrice Number The price the instrument was traded at. ProfitLossCurrencyConversion Number The profit loss from currency conversion between position close and position open. ProfitLossOnTrade Number The P/L on the trade in the currency in which the instrument is traded. ProfitLossOnTradeInBaseCurrency Number The P/L in the client/account group/account currency. SrdSettlementDate UtcDateTime SRD Settlement Date Uic Integer Unique id of the instrument.