Public Sub LimitOrderExecute(ByVal LPOrderID As String, ByVal NewLPOrderID As String, ByVal AtPrice As Double, 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 executed at LP side successfully.
Parameter
Part | Description |
LPOrderID | The Limit order number at the LP side. Value of type is String |
NewLPOrderID | Executed ticket number at the LP side. Value of type is String |
AtPrice | Executed price. Value of type is Double |
BuySell | Order operation type received by UpdateSLTPOrder function. Value of typeOperationType |
Amount | Order amount of lot. 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 lssvalue. Optional value of type Double |
TP | Take profit value. Optionalvalue of type Double |
See Also