Puts current order in the placement queue.
Visual Basic |
---|
Public Sub Place() |
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.
See the usage of Place method in the OrderChanged event's example section.