Gets/sets the account subscription level.
Visual Basic |
---|
Public Property AccountSubscriptionLevel As eAccountSubscriptionLevel |
Current subscription level represented as eAccountSubscriptionLevel.
This property controls the account data delivery mode.
If the user does not need data given by CQG API in v.3.0 and higher, he/she can turn off that functionality by setting this property to aslNone.
Note: This property setting will succeed only after the user is logged on to the CQG Gateway in CQGIC and a corresponding GWConnectionStatusChanged with csConnectionUp event is received in CQG API.
See eAccountSubscriptionLevel Enumeration for details.
Note: If the user tries to change this property to something other than 'aslNone' while the connection is down, a corresponding DataError event will be fired.
In order to use order functionality the AccountSubscriptionLevel property of CQGCEL should be set to aslAccountUpdatesAndOrders
See the usage of AccountSubscriptionLevel property in the AccountChanged event's example section.