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

Methods

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/Server API's/Currency Server API/Methods/ManualDeleteSLTPOrder

ManualDeleteSLTPOrder

19 views 0 Updated on September 15, 2023 hybrid-solutions

Syntax

 Public Function ManualDeleteSLTPOrder(AccountID As Integer, OrderIDs As String, Optional TransTag As String = "") As CallingResultsEnum

Description

This function is used to delete a managed order without the need to select an account. After ManualDeleteSLTPOrder method executes the DeleteSLTPOrderResult event fires.

Parameters

Parameter Description
AccountID Account number to delete the managed order for, value of type is Integer
OrderID Order number to be deleted, value of type is Integer
TransTag String value to mark SLTP order as deleted when the result comes from server

Return value

Returns value of type CallingResultsEnum. If the request was sent to server successfully it will return SuccessResult

Sample

 Private Sub DeleteSLTP_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteSLTP.Click   BOAPI is predefined variable as CVertexBOAPI    Dim Result as CallingResultsEnum   Dim vOrder as COOrder   Dim vAccount as COAccount   vAccount = BOAPI.AccountByIndex (1)   vOrder = BOAPI.OrderByIndex (1)   Result = BOAPI.ManualdeleteSLTPOrder(vAccount.AccountID,vOrder.OrderID,Delete SLTP by BOAPI)   Msgbox (Result.ToString)  End sub 

See Also

  • DeleteClosedPosition
  • DeleteMoneyTransaction
  • AcceptMultipleOrders


VertexFX BackOffice API Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  DisconnectThisSession

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.