Posted by BahaaAldeen Al Momani, Last modified by Mohammad Alawneh on 02 July 2019 08:13 AM


Public Overrides Function UpdateLimitOrder(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) As TransResult


This function used to update an entry order at LP side and return the object of type TransResult, if it return success result the bridge will expect calling MyBase.OrderState.LimitOrderUpdated, otherwise the bridge expects to call MyBase.OrderState.LimitOrderUpdatingFailed.


Key Description 
LPOrderID Order number at LP side to be updated. Value of type String
LOType Entry order operation type Value of type LimitOrderType 
Amount Amount of lots, Value of type Double
LPSymbolName Entry order symbol name, Value of type String
LimitPrice Entry order price. Value of type Double
LPAccountID Account number at LP side. Value of type String
BOOrderID Order number at Backoffice side. Value of type String
BOAccountID Account number at Backoffice side. Value of type String
SL Stop lose 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.LimitOrderUpdated or MyBase.OrderState.LimitOrderUpdatingFailed.

For more information check Update limit 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