Syntax
Public Overrides Function DeleteLimitOrder(ByVal LPOrderID As String, ByVal LOType As LimitOrderType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String) As TransResult
Description
This function used to delete an entry order at LP side and return the object of type TransResult, if it returns success result the bridge will expect calling MyBase.OrderState.LimitOrderDeleted, otherwise the bridge expects to call MyBase.OrderState.LimitOrderDeletingFailed.
Parameters
Key | Description |
LPOrderID | Order number to be deleted at LP side. Value of type String |
LOType | Entry order operation type Value of type LimitOrderType |
Amount | Amount of lots, Value of type Double |
LPSymbolName | Entry order symbol name, Value of type String |
LPAccountID | Account number at LP side. Value of type String |
BOOrderID | Order number at BackOffice side. Value of type String |
BOAccountID | Account number at BackOffice side. Value of type String |
Remarks
Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.LimitOrderDeleted or MyBase.OrderState.LimitOrderDeletingFailed.
For more information check Delete limit Order Cycle.
See Also