class ClosedPositionBuilder| Parents | |
The builder of the ClosedPosition class
| Public Methods | |
|
Builds a new instance of the ClosedPosition class with the set parameters |
|
|
A constructor |
|
|
Sets the unique identification number of the account the position was closed on |
|
|
Sets the type of the account |
|
|
Sets the unique name of the account the position was closed on |
|
|
Sets the amount of the position |
|
|
Sets the trade operation the position was opened by |
|
|
Sets the unique identification number of the order the position was closed by |
|
|
Sets the unique identifier of the environment that was used to close the position |
|
|
Sets the identifier of the order request the position was closed by |
|
|
Sets the custom identifier of the order the position was closed by |
|
|
Sets the unique identifier of the pair of prices (bid and ask) the position was closed at |
|
|
Sets the price the position was closed at |
|
|
Sets the date and time when the position was closed |
|
|
Sets the amount of funds subtracted from the account balance to pay for the broker's service in accordance with the terms and conditions of the account trading agreement |
|
|
Sets the amount of dividends earned or paid for the position |
|
|
Sets the profit or loss of the position in the account currency |
|
|
Sets the amount of the position profit/loss including commissions, interest, and dividends |
|
|
Sets the unique identification number of the instrument traded |
|
|
Sets the unique identification number of the order the position was opened by |
|
|
Sets the identifier of the order request the position was opened by |
|
|
Sets the custom identifier of the order the position was opened by |
|
|
Sets the unique identifier of the pair of prices (bid and ask) the position was opened at |
|
|
Sets the price the position was opened at |
|
|
Sets the date and time when the position was opened |
|
|
Sets the profit or loss of one lot of the position in the account currency |
|
|
Sets the profit or loss of one lot of the position in pips |
|
|
Sets the cumulative amount of funds that is added to the account balance for holding the position overnight |
|
|
Sets the unique identification number of the closed position |
|
|
Sets the unique identification number of the original position a partial closing of which resulted in opening of the current position |
|
|
Sets the unique identification number of the position opened as a result of the partial closing of the current position |
|
|
Sets the simulated delivery date |
|