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

Overridden Methods

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/VertexFX Bridge Language/Data Types/VFXBO/Overridden Methods/UpdateSLTPOrder

UpdateSLTPOrder

1 views 0 December 16, 2021 hybrid-solutions

Syntax

 Public Overrides Function UpdateSLTPOrder(ByVal LPOrderID As String, 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 ByVal SL As Double = 0, Optional ByVal TP As Double = 0) As TransResult

Description

This function used to update an existing manage order at LP side and return the object of type TransResultif the return is success result the bridge will expect calling MyBase.OrderState.SLTPOrderUpdated, otherwise the bridge expects to call MyBase.OrderState.SLTPOrderUpdatingFailed.

Parameters

Key Description
LPOrderID The LP order number to be updated, Value of type String
BuySell Order operation type, value of type OperationType
Amount Order Amount of lots, value of type Double
LPSymbolName Order symbol name, value of type String
LPAccountID Account number at LP side, value of type String
BOOrderID Order number at Backoffice side, value of type String
BOAccountID Backoffice account number, value of type String
SL Stop loss 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.SLTPOrderUpdated or MyBase.OrderState.SLTPOrderUpdatingFailed.

For more information check Update SLTP Order Cycle.


See Also

  • DeleteSLTPOrder
  • NewSLTPOrder
  • CloseMarketOrder


Back to Bridge LP API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

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
  • Technical Support
  • Social Trading
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Forum
  • 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 2022 hybridsolutions.com. All Rights Reserved.