class PositionsSummary| Parents | |
|
|
|
The class provides access to summary information about all open positions in one instrument
| Public Methods | |
|
Gets the amount of all positions, both long and short, (abs(S amount - B amount)) |
|
|
Gets the cumulative amount of all long (buy) positions |
|
|
Gets the average open price of all long (buy) positions |
|
|
Gets the current buy (long) price for your short (sell) positions |
|
|
Gets the current profit or loss of all 'buy' positions (both long and short) in the account currency |
|
|
Gets the current profit/loss of all long (buy) positions in the account currency. It includes commissions, interest, and dividends |
|
|
Gets the current profit/loss of all long (buy) positions in pips |
|
|
Gets the amount of used margin currently allocated to maintain all buy (long) positions |
|
|
Gets the amount of dividends earned or paid for all positions |
|
|
Gets the current profit or loss of all positions (both long and short) in the account currency |
|
|
Gets the symbol of the instrument. For example, EUR/USD |
|
|
Gets the profit or loss of all positions (both long and short) in the account currency. It includes commissions, interest, and dividends |
|
|
Gets the number of positions in this instrument |
|
|
Gets the unique identification number of the instrument offer |
|
|
Gets the amount of rollover interest received or paid for all positions |
|
|
Gets the cumulative amount of all short (sell) positions |
|
|
Gets the average open price of all short (sell) positions |
|
|
Gets the current sell (bid) price for your long (buy) positions |
|
|
Gets the current profit or loss of all 'sell' positions (both long and short) in the account currency |
|
|
Gets the current profit/loss of all short (sell) positions in the account currency. It includes commissions, interest, and dividends |
|
|
Gets the current profit/loss of all short (sell) positions in pips |
|
|
Gets the amount of used margin currently allocated to maintain all short (sell) positions |
|
|
Gets the default sort order position |
|
|
This method is a constructor for the class provides access to summary information about all open positions in one instrument. It initializes the properties with default values and does not return any values |
|