• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

Overridden Methods

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/VertexFX Bridge LP API/VertexFX Bridge LP API Help/Overridden Methods/NewMarketOrder

NewMarketOrder

39 views 0 Updated on September 14, 2023 hybrid-solutions

Syntax

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

Description

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.

Parameters

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.


Remarks

Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.MarketOrderIDReceiveor MyBase.OrderState.MarketorderFailed.For more information check Market Order Cycle.


See Also

  • NewLimitOrder
  • UpdateLimitOrder
  • DeleteLimitOrder


Back to Bridge LP API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  NewLimitOrder

Symbol (By Index)  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.