Syntax
Public Sub LimitOrderAccepted(ByVal LPOrderID 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 function should be called after NewLimitOrder function if it returns the success result.
Parameters
Part | Description |
LPOrderID | Order number which received from LP. Value of type String. |
LOType | Entry order type, received from NewLimitOrder function. Value of type LimitOrderType |
Amount | Amount of lots, received from NewLimitOrder function. Value of type Double |
LPSymbolName | Entry order symbol name, received from NewLimitOrder function. Value of type String |
LimitPrice | Entry order price, received from NewLimitOrder function. Value of type Double |
LPAccountID | LP account number to be opened entry order at it, received from NewLimitOrder function. Value of type String |
BOOrderID | Order number at BackOffice side, received from NewLimitOrder function. Value of type String |
BBOAccountID | 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