class Account

Parents

object

Brief

The class provides access to account information

Public Methods

Account

This method is a constructor for the class representing an account, it initializes the various properties of the account with default values. The constructor does not return any values

getAccountId

Gets the unique identification number of the account

getAccountKind

Gets the type of the account

getAccountName

Gets the unique name of the account

getATPId

Gets the unique identification number of an account trading profile that specifies commission requirements

getBalance

Gets the amount of funds on the account

getBaseCurrency

Gets the base currency

getBaseCurrencyPrecision

Gets the base currency precision

getBaseUnitSize

Gets the size of one lot

getDayPL

Gets the amount of profits and losses (both floating and realized) of the current trading day

getEquity

Gets the amount of funds on the account including profits and losses of all open positions

getGrossPL

Gets the amount of profits and losses of all open positions on the account not including commissions, rollover, and dividends

getHedgeMarginPCT

Gets the Hedge Margin in percent. Hedge Margin is funds which are necessary to open and support an open locked (hedged) position; open positions on the same instrument in different directions

getLastMarginCallDate

Gets the date and time of the last occurrence of a Margin Call

getLeverageProfileId

Gets the unique identification number of an account leverage profile that specifies margin requirements

getM2MEquity

Gets the equity balance of the account at the beginning of the trading day

getMaintenanceFlag

Gets the rollover maintenance flag

getMaintenanceType

The returned value defines how trade operations can be performed on the account

getManagerAccountId

Gets the unique identification number of the funds manager account

getMarginCallFlag

The returned value defines the operations that can be performed on the account

getNonTradeEquity

Gets the amount of accounting transactions on the account during the current trading day

getOrderAmountLimit

Gets the maximum amount of an order that is allowed on the account

getRefreshProfileFlags

Gets the refresh profile flags of the account. The returned set of values defines the refresh profile flags that can be performed on the account in subsequent updates

getRolloverProfileId

Gets the RolloverProfileId for this account

getUsableMaintenanceMargin

Gets the amount of funds available to open new positions or to absorb losses of existing positions on the account with the three-level margin policy

getUsableMaintenanceMarginPercentage

Gets the maintenance usable margin expressed as a percentage of equity

getUsableMargin

Gets the amount of funds available to open new positions or to absorb losses of existing positions

getUsableMarginPercentage

Gets the usable margin expressed as a percentage of equity

getUsedMaintenanceMargin

Gets the amount of funds used to maintain all open positions on the account with the three-level margin policy

getUsedMargin

Gets the amount of funds used to maintain all open positions on the account

back