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

Glossary Item Box

Description

Cancels the bracket order

Syntax

Visual Basic
Public Sub Cancel() 

Remarks

This method only works while main order has not been filled. Use CanBeCanceled property to verify that it is possible to cancel bracket order.

If you want to cancel legs you should cancel those orders directly. Orders can be accessed from global orders collection using ItemByGuid search and CQGBracketOrderLeg.GUID property as search value.

See Also