Public Function ManualDeleteLimitOrder (AccountID As Integer, OrderIDs As String, TransTag As String) As CallingResultsEnum
This function is used to cancel an entry order without the need to select an account, after ManualDeleteLimitOrder method executes the DeleteLimitOrderResult event will fire.
||Account number which is required to cancel an entry orders for, value of type is Integer.
||Orders number to be canceled, value of type is String.
||String value to mark the deleted limit order operation when the result returns from the server.
Returns value of type CallingResultsEnum. If the request was sent to the server successfully, it will return SuccessResult.
Private Sub DeleteLimit_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteLimit.Click
‘BOAPI is predefined variable as CVertexBOAPI
Dim Result as CallingResultsEnum
Dim vOrder as COOrder
Dim vAccount as COAccount
Dim vClient as COClient
vAccount = BOAPI.AccountByIndex (vClient.ClientID,1)
vOrder= BOAPI.OrderByIndex (1)
Result=BOAPI.ManualDeleteLimitOrder(vAccount.AccountID, vOrder.OrderID, ”Delete limit by BOAPI”)
VertexFX Backoffice API Index