Public Sub LimitOrderExecuteFailed(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 when the limit order execution failed at LP side.
Parameter
Part | Description |
LPOrderID | Limit order number at the LP side. Value of type is String |
Reason | Failed execution reason. Value of type is String |
BuySell | Order operation type received by UpdateSLTPOrder function. 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 vackoffice 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