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

Syntax

  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.

Parameters

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


Remarks

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))
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