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

Methods

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

UpdateSLTPOrder

0 views 0 December 16, 2021 hybrid-solutions

Syntax

Public Overrides Function UpdateSLTPOrder(OrderID As String, Amount As Double, Optional SL As Object  ="", Optional TP As Object  ="",Optional ByVal AccountID As String = "") As VertexFXBridgeAPI.TransResult

This function should update SLTP orders with the LP, this will return an object of typeTransResultthat represnts a fail or success result.

Parameters

Key Description
OrderID Order IDof typestring
Amount Amount to be traded
SL Stop Loss
TP Take Profit
AccountID Optional value for account ID


Sample

  Public sub main ()  Dim Result As VertexFXBridgeAPI.TransResult  Result=LP.GetLP ("Description").UpdateSLTPOrder ("553210", 1, 1.6, 1.9,"") End Sub

See Also

  • DeleteSLTPOrder
  • NewSLTPOrder
  • CloseMarketOrder

Back to VertexFXLPIndex

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.