Syntax
Public Overrides Function ManualDeleteLimitOrder (ByVal AccountID As Integer, ByVal OrderID As Integer) As VertexFXBridgeAPI.TransResult
This function is used to cancel an entry order for a specific account number. After ManualDeleteLimitOrder method executes, DeleteLimitOrderResultevent fired.
Parameters
Key | Description |
AccountID | Account number to delete an entry order for. Value of type is Integer. |
OrderID | Entry order number to be deleted. Value of type is String. |
Return value
Returns value of type TransResult. If the request was sent to server successfully it will return Succeeded.
Sample
Private Sub DeleteLimit_Click (ByVal sendeOr As System.Object, ByVal e As System.EventArgs) Handles DeleteLimit.Click Dim Result As VertexFXBridgeAPI.TransResult Dim vClient As VertexFXBridgeAPI.Client Dim vAccount As VertexFXBridgeAPI.Account vClient = BO.GetBO.ClientByIndex (1) vAccount = BO.GetBO.AccountByIndex (vClient.ClientID, 1) Result= BO.GetBO.ManualDeleteLimitOrder (vAccount.AccountID,64123) End Sub
See Also