class ClosedPosition| Parents | |
|
|
|
The class provides access to information about a closed position
| Public Methods | |
|
This method is a constructor for the class representing a closed position, it initializes the various properties describing closed position with default values. The constructor does not return any values |
|
|
Gets the unique identification number of the account the position was closed on |
|
|
Gets the type of the account the position was closed on |
|
|
Gets the unique name of the account the position was closed on |
|
|
Gets the amount of the closed position |
|
|
Gets the trade operation the position was opened by |
|
|
Gets the unique identifier of the order at which the position was closed |
|
|
Gets the unique identifier of the environment that was used to close the position |
|
|
Gets the unique identifier of the order request at which the position was closed |
|
|
Gets the custom identifier of the order at which the position was closed |
|
|
Get the unique identifier of the price pair bid and ask at which the position was closed |
|
|
Get the price at which the position was closed |
|
|
Gets the date and time when the position was closed |
|
|
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 |
|
|
Gets the amount of dividends earned or paid for the position |
|
|
Gets the profit or loss of the position in the account currency |
|
|
Gets the amount of the position profit/loss including commissions, interest, and dividends |
|
|
Gets the unique identification number of the instrument traded |
|
|
Gets the unique identification number of the order the position was opened by |
|
|
Gets the identifier of the order request the position was opened by |
|
|
Gets the custom identifier of the order the position was opened by |
|
|
Gets the unique identifier of the pair of prices bid and ask at which the position was opened |
|
|
Gets the price at which the position was opened |
|
|
Gets the date and time when the position was opened |
|
|
Gets the profit or loss of one lot of the position in the account currency |
|
|
Gets the profit or loss of one lot of the position in pips |
|
|
Gets the cumulative amount of funds that is added the account balance for holding the position overnight |
|
|
Gets the unique identification number of the position |
|
|
Gets the unique identification number of the position a partial closing of which resulted in opening of the current position |
|
|
Gets the unique identification number of the position opened as a result of the partial closing of the current position |
|
|
Gets the simulated delivery date |
|