Returns the collection of available positions for the current account.
Read-only property
Visual Basic |
---|
Public Property Positions As CQGPositions |
CQGPositions collection containing current positions of the account
The content of this collection depends on the account's PositionSubcriptionLevel property setting. See remarks for details.
If the subscription level is configured to receive the positions updates, then a new item is added to the collection each time an account obtains new position.
The liquidated positions are not removed from the collection until the end of the trading day. To distinguish the liquidated positions check their Quantity Property. It will be 0 in that case.
See the usage of CQGAccount properties in the AccountChanged event's example section.