Syntax
Public Overrides Function ManualDeleteSLTPOrder (ByVal AccountID As Integer, ByVal OrderID As Integer) As VertexFXBridgeAPI.TransResult
This function is used to delete a manage order for a specific account number. After ManualDeleteSLTPOrder method executes, DeleteSLTPOrderResultevent fires.
Parameters
Key | Description |
AccountID | Account number to delete the manage order for. Value of type is Integer. |
OrderID | Manage 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 DeleteSLTP_Click (ByVal sendeOr As System.Object, ByVal e As System.EventArgs) Handles DeleteSLTP.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,64124) End Sub
See Also