Knowledgebase:
SLTPOrderRejected
Posted by Mohammad Rahhal, Last modified by Yousef Ibrahim on 25 August 2016 02:28 PM
 Public Sub SLTPOrderRejected(ByVal LPOrderID As String, ByVal Reason As String, 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)

This function should be called after NewSLTPOrder function if it returns failed result.

Parameter
 
Part Description
LPOrderID The LP ticket number which failed to create a manage order on, received by NewSLTPOrder function. Value of type is String
Reason The fail reason. Value of type is String
BuySell Order operation type received by NewSLTPOrder function. Value of type is OperationType
Amount Amount of lots received by NewSLTPOrder function. Value of type is Double
LPSymbolName Order symbol name received by NewSLTPOrder function. Value of type String
LPAccountID Account number at the LP side received by NewSLTPOrder function. Value of type is String
BOOrderID Order number at the backoffice side, received by NewSLTPOrder function. Value of type is String
BOAccountID Account number at the backoffice side, received by NewSLTPOrder function. Value of type is String
SL Stop loss value received by NewSLTPOrder function. Optional value of type Double
TP Take profit value received by NewSLTPOrder function. Optional value of type Double

 


See Also


Back to Bridge LP API Index

(0 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