CQG API 4.0 - Revised
CurrencyRates Property
See Also  Send Feedback
CQGCEL Interface : CurrencyRates Property

Glossary Item Box

Description

Returns the collection of currency rates from all FCMs.

Property type

Read-only property

Syntax

Visual Basic
Public Property CurrencyRates As CQGCurrencyRates

Return Type

Currency rates represented as CQGCurrencyRates Collection

Remarks

The currency rates are obtained from FCMs by CQG. 

If currency rate is changed at any FCM, it will be reflected in the collection and a CurrencyRatesChanged event will be fired to notify the user about the recent changes.

Note: The currency rates information is available only if the user is logged on to the CQG Gateway. It means that the collection is empty or out-dated if the AccountSubscriptionLevel value is set to aslNone, or if the Gateway connection is down.

Example

See the usage of CurrencyRates property in the CurrencyRatesChanged event's example section.

See Also