Requests the current order cancellation.
Visual Basic |
---|
Public Sub Cancel() |
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.
See the usage of CQGOrder methods in the OrderChanged event's example section.