class OpenPosition| Parents | |
The class provides access to information about an open position
| Public Methods | |
|
Gets the price at which the position can be closed at the moment |
|
|
Gets the current profit or loss of the position in the account currency |
|
|
Gets the identifier of the associated limit order (profit limit level) |
|
|
Gets the price of the associated limit order (profit limit level) |
|
|
Gets the amount of the current position profit/loss including commissions, interest, and dividends |
|
|
Gets the current profit or loss of one lot of the position in the account currency |
|
|
Gets the current profit or loss of one lot of the position in pips |
|
|
Gets the pips left until the stop is moved |
|
|
Gets the identifier of the associated stop order (loss limit level) |
|
|
Gets the price of the associated stop order (loss limit level) |
|
|
Gets the amount of funds currently committed to maintain the position, expressed in the account currency |
|
|
This method is a constructor for the class provides access to information about an open position. It initializes the properties with default values and does not return any values |
|