class IO2GTradeRow
Parents | |
IO2GRow |
Brief
The class provides access to open position information.
Details
An instance of the class can be obtained by the following methods:
Method/Use |
Prerequisites |
This method is used to get the initial open position information after a session with the trading server is established. |
Depending on the trading server settings, the Trades table may or may not be loaded by the server automatically during the login process. To determine whether the table is loaded or not and what follow-up action is required to get open position information, use the returned value of the
Both methods use the For details, see the example below. |
This method is used to get open position information updates. |
To receive the open position information updates, you must implement the For details, see the example below. |
Example
Get Trade ID, Offer ID and Amount [show]
Public Methods | |
Gets the columns of the table. |
|
Gets the unique identification number of the account the position is opened on. |
|
Gets the type of the account the position is opened on. |
|
Gets the unique name of the account the position is opened on. |
|
Gets the amount of the position. |
|
Gets the trade operation the position is opened by. |
|
Gets value of a table cell. |
|
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 unique identification number of the traded instrument. |
|
Gets the unique identification number of the order the position is opened by. |
|
Gets the 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 unique identifier of the environment that has been used to open the position. |
|
Gets the cumulative amount of funds that is added to the account balance for holding the position opened overnight. |
|
Gets the type of the table. |
|
Gets the unique identification number of the open position. |
|
Gets the unique identification number of the position partial closing of which results in opening of the current position. |
|
Gets the amount of funds currently committed to maintain the position. |
|
Gets the simulated delivery date. |
|
Gets a flag indicating whether the value of the cell is changed. |