Public Sub SLTPExecutedFailed(ByVal LPOrderID As String, ByVal LPSLTPOrderID As String, ByVal Reason 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, Optional ByVal SL As Double = 0, Optional ByVal TP As Double = 0)
Description
This function should be called when the SLTP order executionfail at the LP side.
Parameter
Part | Description |
LPOrderID | The LP ticket number whichSLTP order belongs to. Value of type is String |
LPSLTPOrderID | The LP SLTP order number. Value of type is String |
Reason | Executionfailreason. Value of type is String |
BuySell | Order operation type . Value of type isOperationType |
Amount | Amount of lots. Value of type is Double |
LPSymbolName | Order symbol name. Value of type is String |
LPAccountID | Related LP account number. Value of type is String |
BOOrderID | Order number at the BackOffice side. Value of type is String |
BOAccountID | Account number at the BackOffice side. Value of type is String |
SL | Stop lssvalue. Optional value of type Double |
TP | Take profit value. Optionalvalue of type Double |
See Also