Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

Overridden Methods

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

NewLimitOrder

10 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

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

Description

This function is used to create new limit order at LP side and returns the object of type TransResult, if it returns success result the bridge will expect to call MyBase.OrderState.LimitOrderAccept, otherwise the bridge expects to call MyBase.OrderState.LimitOrderRejected.

Parameters

Part Description
LOType Order operation type , the value of type LimitOrderType
Amount Amount of lots , the value of type Double
LPSymbolName Symbol name to create limit order for, the value of type String
LimitPrice Entry order open price, the value of type Double
LPAccountID The account number on LP side to create limit order for it, a value of type String
BOOrderID Backoffice order number, a value of type String
BOAccountID Backoffice account number, a value of type String
SL The stop lose value, optional value of Double
TP Take profit value, an optional value of Double
BOOrderPrice Backofficeprice 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.LimitOrderAcceptor MyBase.OrderState.LimitOrderRejected.For more information checkLimit Order Cycle.


See Also

  • UpdateLimitOrder
  • DeleteLimitOrder
  • UpdateSLTPOrder


Back to Bridge LP API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  NewMarketOrder

ValidateBO  

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 2023 hybridsolutions.com. All Rights Reserved.