Syntax
Public Overrides Function CancelLimitOrder(ByVal AccountID As String, ByVal OrderID As String)As VertexFXBridgeAPI.TransResult
This function cancels a certainlimitorder, it will return an object of typeTransResultthat represents a fail or success result.
Parameters
Key | Description |
AccountID | Account ID to recognize the account,value of type string |
OrderID | Order ID to recognize the order we want to cancel,value of type integer |
Return Value
It will return an object of typeTransResult.
Sample
Public Sub NewLimitOrderResult (ByVal Result As VertexFXBridgeAPI.TransResult, ByVal OrderID As String, ByVal ServerTime As String) Dim Result As VertexFXBridgeAPI.TransResult Result=BO.GetBO.CancelLimitOrder (12345, OrderID) End Sub
See Also