Whether N/A values should be suppressed in summary calculating or not. Value is False by default.
Read-write property
Visual Basic |
---|
Public Property SuppressNotAvailableValues As Boolean |
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.