Syntax
Public Sub LimitOrderRejected(ByVal LPOrderID As String, ByVal Reason As String, ByVal LOType As LimitOrderType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LimitPrice 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 method should be called after NewLimitOrder function if it returns failed result.
Parameters
Part | Description |
LPOrderID | Failed limit order number at LP side, received from IP. Value of type String |
Reason | Taking order fail reason, value of type String |
LOType | Failed entry order type, received from NewLimitOrder function. Value of type LimitOrderType |
Amount | Amount of lots, received from NewLimitOrder function. Value of type Double |
LPSymbolName | Symbol name of the failed entry order, received from NewLimitOrder function. Value of type String |
LimitPrice | Entry order price, received from NewLimitOrder function. Value of type Double |
LPAccountID | LP account number failed to open entry order on, received from NewLimitOrder function. Value of type String |
BOOrderID | Order number at BackOffice side, received from NewLimitOrder function. Value of type String |
BOAccountID | Account number at BackOffice side, received from NewLimitOrder function. Value of type String |
SL | Stop lose value, received from NewLimitOrder function. Optional value of type Double |
TP | Take profit value, received from NewLimitOrder function. Optional value of type Double |
See Also