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

Glossary Item Box

Description

Puts current order in the placement queue.

Syntax

Visual Basic
Public Sub Place() 

Remarks

Order placement procedure should be started with creating an order object using CreateOrder method.

Exception will be thrown if not enough parameters are supplied for order placing. The number of mandatory parameters depends on the order type.

 

During order placement its status and state are being changed on the fly. Each change is reported via OrderChanged event.

See the eOrderEvent, eOrderStatus and eOrderLocalState descriptions for order's possible conditions.

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

Example

See the usage of Place method in the OrderChanged event's example section.

See Also