Returns the collection of currently matched trades.
The availability of position matched trades information is controlled by PositionDetailing setting of CQG API Configuration.
Read-only property
Visual Basic |
---|
Public Property MatchedTrades As CQGTrades |
CQGTrades collection containing position's matched trades.
Nothing, if this information is not available.
Position's trades are considered matched if the sum of their signed quantities is 0.
The trades which are matched together have equal GroupID property.
Note: Matched trades are kept in this collection until the end of the trading day. Upon the start of new trading day position does not have any matched trade.
See the usage of CQGPosition properties in the AccountChanged event's example section.