Public Sub SLTPOrderAccepted(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 after NewSLTPOrder function if it returns the success result.
Parameter
Part | Description |
LPOrderID | The LP ticket number which created a manage order on, received by NewSLTPOrder function. Value of type is String |
LPSLTPOrderID | The STLP order number at the LP side, received by LP. Value of type is String |
BuySell | Order operation type, received by NewSLTPOrder function. Value of type isOperationType |
Amount | Amount oflots, received by NewSLTPOrder function. Value of type is Double |
LPSymbolName | Order symbol name, received by NewSLTPOrder function. Value of type String |
LPAccountID | Account number at the LP side, received by NewSLTPOrder function. Value of typeisString |
BOOrderID | Order number at the BackOffice side, received by NewSLTPOrder function. Value of type is String |
BOAccountID | Account number at the BackOffice side, received by NewSLTPOrderfunction. Value of type is String |
SL | Stop lossvalue received by NewSLTPOrder function. Optional value of type Double |
TP | Take profit value received by NewSLTPOrder function. Optional value of type Double |
See Also