Syntax
Public Function AcceptOrder(ByVal BOOrderID As String, Optional ByVal AtPrice As Double =0) As TransResult
Description
This function accepts a certain market order.
Parameters
Key | Description |
BOOrderID | ID of the order |
AtPrice | Order price |
Return value
Returns an integer Value of type TransResult.
Sample
Public Sub BOChatOrderReceived(BOOrder As Order) Msgbox (BO. AcceptOrder(BOOrder.BOOrderID).Succeeded)End Sub
See Also