CQG API 4.0 - Revised
CQGPosition Interface Members
See Also  Overview  Send Feedback

Glossary Item Box

Public Properties

Public Property Account

Returns the corresponding CQGAccount object.

Public Property AveragePrice

Returns the average price of position's open trades.

Public Property Instrument

Returns a CQGInstrument object representing the instrument on which the current position is created.

Public Property InstrumentName

Returns the full name of the instrument on which the current position is created.

Public Property ManualFillsInvolved

Returns the flag that indicates whether the manual fills are involved in position calculation or not.

Public Property MatchedTrades

Returns the collection of currently matched trades.

The availability of position matched trades information is controlled by PositionDetailing setting of CQG API Configuration.

Public Property MVO

Returns the Market Value Option, calculated for the current position if its instrument is an option.

Public Property OpenTrades

Returns the collection of currently open trades.

The availability of position open trades information is controlled by PositionDetailing setting of CQG API Configuration.

Public Property OTE

Returns the Open Trade Equity, calculated for the current position if its instrument is a future.

Public Property PositionDayCurrent/Previous day position for instruments with explicit position tracking type
Public Property ProfitLoss

Returns the position's profit/loss since the start of the business day.

Public Property Quantity

Returns the position's quantity, i.e. the sum of position's open trades' quantities.

Public Property QuantityFractionalGets position open fractional quantity, signed(positive for long position, negative for short position)
Public Property ServerTimestamp

Returns the server timestamp of the last position update (converted to the user-configured time zone).

Public Property Side

Returns the position's side, basing on its open trades.

Public Property Timestamp

Returns the last response reception timestamp.

When a property is updated, CQG API records the information reception time in the Timestamp property (using local time).

Public Property TrackingTypePostion tracking type
Public Property UPLUnrealized Profit Loss (options only, zero for futures)

See Also