Posted by BahaaAldeen Al Momani, Last modified by Rawan Al Hourani on 03 April 2017 12:59 PM


 Public Overrides Function UpdateSLTPOrder(ByVal LPOrderID 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) As TransResult

This function used to update an existing manage order at LP side and return the object of type TransResult if the return is success result the bridge will expect calling MyBase.OrderState.SLTPOrderUpdated, otherwise the bridge expects to call MyBase.OrderState.SLTPOrderUpdatingFailed.


Key Description 
LPOrderID The LP order number to be updated, Value of type String
BuySell Order operation type, value of type OperationType
Amount Order Amount of lots, value of type Double
LPSymbolName Order symbol name, value of type String
LPAccountID Account number at LP side, value of type String
BOOrderID Order number at Backoffice side, value of type String
BOAccountID Backoffice account number, value of type String
SL Stop loss value, optional value of type Double
TP Take profit value, optional value of type Double


Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.SLTPOrderUpdated or MyBase.OrderState.SLTPOrderUpdatingFailed.

For more information check Update SLTP Order Cycle.

See Also

Back to Bridge LP API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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