public method IO2GOrderRow.getPegType

Brief

Gets the price used to calculate the pegged order price.

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

Details

Pegged means that the price is specified as an offset to one of the following return values:

0

The open price of the position to be closed.

1

The current market price, at which the position can be closed.

It is applicable only to stop/limit orders and secondary orders of ELS orders. For all other orders, the method returns an empty string.

Declared in IO2GOrderRow

back