class RawOpenPosition

Parents

object

Brief

The class provides access to information about an open position, its received from the trading server without calculated fields.

Public Methods

getAccountId

Gets the unique identification number of the account the position is opened on

getAccountKind

Gets the type of the account the position is opened on

getAccountName

Gets the unique name of the account the position is opened on

getAmount

Gets the amount of the position

getBuySell

Gets the trade operation by which the position was opened

getCommission

Gets the amount of funds subtracted from the account balance to pay for the brokers service in accordance with the terms and conditions of the account trading agreement

getDividends

Gets the amount of dividends earned or paid for the position

getOfferId

Gets the unique identification number of the instrument traded

getOpenOrderId

Gets the unique identification number of the order by which the position was opened

getOpenOrderReqId

Gets the identifier of the order request by which the position was opened

getOpenOrderRequestTXT

Gets the custom identifier of the order by which the position was opened

getOpenQuoteId

Gets the unique identifier of the pair of prices (bid and ask) at which the position was opened

getOpenRate

Gets the price at which the position was opened

getOpenTime

Gets the date and time when the position was opened

getParties

Gets the unique identifier of the environment that was used to open the position

getRolloverInterest

Gets the cumulative amount of funds that is added the account balance for holding the position overnight

getTradeID

Gets the unique identification number of the open position

getTradeIdOrigin

Gets the unique identification number of the position a partial closing of which resulted in opening of the current position

getValueDate

Gets the simulated delivery date

RawOpenPosition

This method is a constructor for the class provides access to information about an open position, receiving from the trading server without calculated fields. It initializes the properties with default values and does not return any values

back