Public Sub SLTPOrderRejected(ByVal LPOrderID 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 after NewSLTPOrder function if it returns failedresult.
Parameter
Part | Description |
LPOrderID | The LP ticket number whichfailed tocreate a manage order on, received by NewSLTPOrder function. Value of type is String |
Reason | The failreason. Value of type is String |
BuySell | Order operation type received by NewSLTPOrder function. Value of type isOperationType |
Amount | Amount of lots 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 type is String |
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