CQG API 4.0 - Revised
CurrencySummaries Property
See Also  Send Feedback
CQGAccount Interface : CurrencySummaries Property

Glossary Item Box

Description

Returns the collection of account summaries, one for each account currency.

Property type

Read-only property

Syntax

Visual Basic
Public Property CurrencySummaries As CQGAccountSummaries

Return Type

Account summaries collection, represented as CQGAccountSummaries

Remarks

  • This collection contains a single CQGAccountSummary object per each currency, in which the account has a position.
  • No adjustment is performed between currencies. Therefore, the CQGAccountSummary object retrieved for the reporting currency does not contain the same values as the account main summary. Moreover, if the account does not have a position based on the reporting currency, then the CurrencySummaries collection will not contain an object for the reporting currency.
  • If all instruments for all positions are not subscribed yet, or there is no information on currency rates, all calculations will return invalid values.

Example

See the usage of CQGAccount properties in the AccountChanged event's example section.

See Also