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
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
getTradeID Gets the unique identification number of the open position
getAccountId Gets the unique identification number of the account the position is opened on
getAccountName Gets the unique name of the account the position is opened on
getAccountKind Gets the type of the account the position is opened on
getOfferId Gets the unique identification number of the instrument traded
getAmount Gets the amount of the position
getBuySell Gets the trade operation by 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
getOpenQuoteId Gets the unique identifier of the pair of prices (bid and ask) at which the position was opened
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
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
getRolloverInterest Gets the cumulative amount of funds that is added the account balance for holding the position overnight
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
getParties Gets the unique identifier of the environment that was used to open the position
getDividends Gets the amount of dividends earned or paid for the position