Activates the current order if it is parked.
Visual Basic |
---|
Public Sub Activate() |
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.
See the usage of CQGOrder methods in the OrderChanged event's example section.