Public Sub LimitOrderUpdatedFailed(ByVal LPOrderID As String, ByVal Reason As String, ByVal LOType As LimitOrderType, 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 UpdateLimitOrder function if it returns failedresult.
Parameter
Part | Description |
LPOrderID | Failed order number at the LP side, received by UpdateLimitOrder. Value of type is String |
Reason | The failreason, value of type is String |
LOType | Failed entry order operation type, received by UpdateLimitOrder function. Value of type isLimitOrderType |
Amount | The amount inlot, received by UpdateLimitOrder function. Value of type is Double |
LPSymbolName | The failed entry orders symbol name, received by UpdateLimitOrderfunction. Value of type is String |
OpenPrice | Failed entry order price, received by UpdateLimitOrder function. Value of type is Double |
LPAccountID | Account number at the LP side, received by UpdateLimitOrder function. Value of type is String |
BOOrderID | Order number at the BackOffice side, received by UpdateLimitOrder function. Value of type is String |
BOAccountID | Account number at the BackOffice side, received by UpdateLimitOrder function. Value of type is String |
SL | Stop lossvalue received by UpdateLimitOrder function. Optional value of type Double |
TP | Take profit value received by UpdateLimitOrder function. Optional value of type Double |
See Also