CQG API 4.0 - Revised
Activate Method
See Also  Send Feedback
CQGOrder Interface : Activate Method

Glossary Item Box

Description

Activates the current order if it is parked.

Syntax

Visual Basic
Public Sub Activate() 

Remarks

This method works in asynchronous mode, which means that it returns after the request is sent, but without waiting for its results.

If the order is not parked and the user tries to activate it, an exception will be thrown.

This method changes the order status to osInOrderBook. The change will be reported via OrderChanged event.

Example

See the usage of CQGOrder methods in the OrderChanged event's example section.

See Also