Public Overrides Function DeleteSLTPOrder(ByVal LPOrderID As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String) As TransResult
This function used to delete an existing manage order at LP side and return the object of typeTransResultif return success result the bridge will expect calling MyBase.OrderState.SLTPOrderDeleted, otherwise the bridge expects to call MyBase.OrderState.SLTPOrderDeletingFailed.
|LPOrderID||The LP order number to be deleted, Value of type String|
|BuySell||Order operation type, value of type OperationType|
|Amount||Order Amount of lots, value of type Double|
|LPSymbolName||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||Backoffice account number, value of type String|
Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.SLTPOrderDeleted or MyBase.OrderState.SLTPOrderDeletingFailed.
For more information check Delete SLTP Order Cycle.
Leave A Comment