Syntax
Public Sub SLTPExecuted(ByVal LPOrderID As String, ByVal LPSLTPOrderID 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 executed at LP side successfully.
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 |
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 lossvalue. Optional value of type Double |
TP | Take profit value. Optionalvalue of type Double |
See Also