Starts an asynchronous request for trading system.
Visual Basic |
---|
Public Function RequestTradingSystem( _ ByVal cqg_trading_system_request As CQGTradingSystemRequest _ ) As CQGTradingSystem |
- cqg_trading_system_request
Specifies trading system request, which contains all parameters as properties.
Notes:
Values provided for properties that are not required are ignored.
If values are not provided for properties that are required, an exception will be thrown.
An exception will be thrown if asynchronous request could not be made.
Otherwise, returns CQGTradingSystem object, which doesn't contain any trading systems yet and status is rsInProgress.
Notes:
It is a good practice to cancel the request as soon as it becomes unnecessary. Such approach allows using memory resources more optimal.
Call RemoveTradingSystem for request cancelling.