public method O2GAccountRow.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 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.
It is the same situation as in the case of Netting only, but within a certain trading day. If the position is not offset during the trading day of its opening,
it is closed automatically on the simulated delivery date (see the |
|
FIFO. Positions open and close in accordance with the FIFO (First-in, First-out) rule. Hedging is not allowed. |
Declared in O2GAccountRow