CQG API 4.0 - Revised
SuppressNotAvailableValues Property
See Also  Send Feedback
CQGAccountSummary Interface : SuppressNotAvailableValues Property

Glossary Item Box

Description

Whether N/A values should be suppressed in summary calculating or not. Value is False by default.

Property type

Read-write property

Syntax

Visual Basic
Public Property SuppressNotAvailableValues As Boolean

Remarks

By default, API returns an invalid value if at least a single operand in the calculated summary value is N/A. Set this property value to True to skip such operands and continue the calculation.

Example: there are three open positions for three different instruments. There is no access to market data for one of the instruments. By default, CQGAccountSummary.Balance(0) call will return an invalid value. If the property value is True, API will skip the unavailable profit loss value and calculate the balance using only available ones.

See Also