Posted by Yousef Ibrahim, Last modified by Diana Alkouni on 09 September 2020 10:23 AM


Public Overrides Function NewMarketOrder (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 BOOrderPrice As Double = 0) As TransResult


This function is used to create market order with LP, and it will return the object of type TransResult, if return success results the bridge will expect to call MyBase.OrderState.MarketOrderIDReceive, otherwise the bridge expect to call MyBase.OrderState.MarketorderFailed.


Part Description
BuySell Market order type, the value of type OperationType
Amount Amount of lots, the value of type Double
LPSymbolName Symbol name to create market order on it, the value of type String
LPAccountID LP account number to get the order form, the value of type String
BOOrderID Backoffice order number, the value of type String
BOAccountID Backoffice account number, the value of type String
BOOrderPrice Backoffice price which takes BO order at it, Optional Value of type Double. 


Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.MarketOrderIDReceive or MyBase.OrderState.MarketorderFailedFor more information check Market 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