CQG API 4.0 - Revised
PriceMode Property
See Also  Send Feedback
CQGAPIConfig Interface : PriceMode Property

Glossary Item Box

Description

Controls the calculation method of accounts/positions trade specific data.

The default value is pmTradesOnly.

Property type

Read-write property

Syntax

Visual Basic
Public Property PriceMode As ePriceMode

Return Type

The price mode represented as ePriceMode

Remarks

This setting is the same for all accounts and positions.

Can be either Best Ask/Best Bid or the Last Trade.

See ePriceMode Enumeration for details.

Example

See the usage of PriceMode property in the AccountChanged event's example section.

See Also