Function DeleteLimitOrder(ByRef OrderIDs As String,ByRef TransTag As String)As CallingResultsEnum
This function used to delete a limit order. A user account must be selected before using this method .After DeleteLimitOrder method executes the DeleteLimitOrderResult event fires.
||Orders identifiers to be deleted ,separated by "," . Value of type String.
||String value to mark the deleted limit order when the result came from server.
Returns value of type CallingResultsEnum ,if the request sent to the server successfully it will return SuccessResult.
Public WithEvents m_oBOAPI As New CVertexFXBOAPI
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim vOrder As COOrder = m_oBOAPI.OrderByIndex(1)
Dim OrderID As String = vOrder.OrderID
m_oBOAPI.DeleteLimitOrder(OrderID ,"Delete limit order")
Private Sub m_oBOAPI_DeleteLimitOrderResult(ByRef Result As VertexFXBOAPI10.NewOrderResultEnum, ByRef OrderID As Integer) Handles m_oBOAPI.DeleteLimitOrderResult
VertexFX Backoffice API Index