Knowledgebase:
OrderState.LimitOrderRejected
Posted by Yousef Ibrahim, Last modified by Rawan Al Hourani on 06 April 2017 02:49 PM

 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)

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

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions