Posted by Yousef Ibrahim, Last modified by Rawan Al Hourani on 03 April 2017 11:59 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) As TransResult

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


Part Description
BuySell Market order type, value of type OperationType
Amount Amount of lots, value of type Double
LPSymbolName Symbol name to create market order on it, value of type String
LPAccountID LP account number to get the order for, value of type String
BOOrderID The backoffice order number, value of type String
BOAccountID The backoffice account number, value of type String


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