PositionId

Gets the ID of position, in which the deal was involved.

long  PositionId() const

Return Value

ID of position, in which the deal was involved.

Note

The deal should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods.