Syntax
Public Sub SLTPOrderUpdatedFailed(ByVal LPOrderID As String, ByVal Reason As String, ByVal Type As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal OpenPrice As Double, 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 UpdateSLTPOrderfunction if it returns failedresult.
Parameter
Part | Description |
LPOrderID | The manage order number at the LP side whichfailed to be updated, received by UpdateSLTPOrder function. Value of type is String |
Reason | The failreason. Value of type is String |
Type | Order operation type received by UpdateSLTPOrder function. Value of type isOperationType |
Amount | Amount of lots received by UpdateSLTPOrderfunction. Value of type is Double |
LPSymbolName | Order symbol name received by UpdateSLTPOrder function. Value of type is String |
OpenPrice | Order price value received by UpdateSLTPOrder function. Value of type is Double |
LPAccountID | Account number at the LP side received by UpdateSLTPOrderfunction. Value of type is String |
BOOrderID | Order number at the BackOffice side, received by UpdateSLTPOrderfunction. Value of type is String |
BOAccountID | Account number at the BackOffice side, received by UpdateSLTPOrderfunction. Value of type is String |
SL | Stop lossvalue received by UpdateSLTPOrder function. Optional value of type Double |
TP | Take profit value received by UpdateSLTPOrderfunction. Optional value of type Double |
See Also