public method IO2GOrderTableRow.getTradeID

Brief

Gets the unique identification number of the position to be opened/closed by the order.

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

Details

The returned value is unique within the same database that stores the account the position can be opened or closed on. For example, MINIDEMO or U100D1. The uniqueness of the position itself is ensured by the combination of the database ID and the returned value of this method.

In case the opening order is filled partially, the returned value changes with every partial fill. Likewise, the returned value changes if the order closes a particular position and is filled partially.

In some cases, the returned value does not refer to any particular position. Such cases are:

Declared in IO2GOrderRow

back