public method IO2GAccountRow.getMaintenanceType

Brief

Gets the type of a position maintenance.

Declaration
C++
virtual const char *  getMaintenanceType () = 0

Details

The returned value defines how trade operations can be performed on the account.
The possible return values are:

Y

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.

N

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).

0

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.

D

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 ValueDate field of the Offers table).

F

FIFO. Positions open and close in accordance with the FIFO (First-in, First-out) rule. Hedging is not allowed.

Declared in IO2GAccountRow

back