class IO2GClosedTradeRow
Parents | |
IO2GRow |
Brief
The class provides access to information about a position closed during the current trading day.
Details
An instance of the class can be obtained by the following methods:
Method/Use |
Prerequisites |
This method is used to get the initial information about a closed position after a session with the trading server is established. |
Depending on the trading server settings, the ClosedTrades table may or may not be loaded by the server automatically during the login process.
Both methods use the For details, see the example below. |
This method is used to get information about a position closed during a session lifetime. |
To receive information about a position closing, you must implement the For details, see the example below. |
Example
Get Trade ID, Offer ID and Amount of closed position [show]
Public Methods | |
Gets the columns of the table. |
|
Gets the unique identification number of the position account. |
|
Gets the type of the position account. |
|
Gets the unique name of the position account. |
|
Gets the amount of a closed position. |
|
Gets the trade operation the position is opened by. |
|
Gets value of a table cell. |
|
Gets the unique identification number of the order the position is closed by. |
|
Gets the unique identifier of the environment that is used to close the position. |
|
Gets the unique identifier of the order the position is closed by. |
|
Gets the custom identifier of the order the position is closed by. |
|
Gets the unique identifier of the pair of prices (bid and ask) the position is closed at. |
|
Gets the price the position is closed at. |
|
Gets the date and time when the position is closed. |
|
Gets 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. |
|
Gets the profit/loss of the position. |
|
Gets the unique identification number of a traded instrument. |
|
Gets the unique identification number of the order the position is opened by. |
|
Gets the unique identifier of the environment that was used to open the position. |
|
Gets the unique identifier of the order request the position is opened by. |
|
Gets the custom identifier of the order the position is opened by. |
|
Gets the unique identifier of the pair of prices (bid and ask) the position is opened at. |
|
Gets the price the position is opened at. |
|
Gets the date and time when the position is opened. |
|
Gets the cumulative amount of funds added to the account balance for holding a position opened overnight. |
|
Gets the type of the table. |
|
Gets the unique identification number of the position. |
|
Gets the unique identification number of the position, partial closing of which results in opening of the current position. |
|
Gets the unique identification number of the position opened as a result of the current position partial closing. |
|
Gets the simulated delivery date. |
|
Gets a flag indicating whether the value of the cell is changed. |