public method IO2GAccountTableRow.getMaintenanceType
Brief
Gets the type of a position maintenance.
Declaration | ||||
|
Details
The returned value defines how trade operations can be performed on the account.
The possible return values are:
|
Hedging is allowed. In other words, both buy and sell positions can be opened for one and the same instrument at the same time. To close each buy or sell position, an individual order is required. |
|
Hedging is not allowed. In other words, either a buy or a sell position can be opened for one and the same instrument at a time. Opening a position for the instrument that already has open position(s) of the opposite trade operation always causes closing or partial closing of the open position(s). |
|
Netting only. In other words, for each instrument there exists only one open position. The amount of the position is the total amount of the instrument, either bought or sold, that has not yet been offset by an order of an opposite trade operation. |
|
Day netting. In other words, for each instrument there exists only one open position.
Same as Netting only, but within a trading day. If the position is not offset during the same trading day it is opened,
it is closed automatically on simulated delivery date (see |
|
FIFO. Positions open and close in accordance with the FIFO (First-in, First-out) rule. Hedging is not allowed. |
Declared in IO2GAccountRow