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

Glossary Item Box

Description

Requests the current order cancellation.

Syntax

Visual Basic
Public Sub Cancel() 

Remarks

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

This method triggers several order status changes. The final status is osCancelled. Each status change will be reported via OrderChanged event.

Example

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

See Also