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

VertexFX BackOffice WCF Service

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/VertexFX BackOffice WCF Service/VertexFX BackOffice WCF Service/UpdatePosition

UpdatePosition

62 views 0 Updated on September 20, 2023 hybrid-solutions

Syntax

 Public Function UpdatePosition (AccountID As Long, TicketID As Integer, Lot As Double, Price As Double, BuySell As Integer, Interest As Double, Optional Note As String = "", Optional UserDefinedDate As String = "")  As String

Description

The UpdatePosition operation is used to edit the given position number which belongs to the given account number.

Request Parameters

Name Description Required
AccountID
  • Account number to update the opened position for
  • Type: Long
  • Default: None
  • Constraints: Must be valid account Id and accessible by logged in dealer
Yes
TicketID
  • The opened position number is to be updated.
  • Type: Integer.
  • Default: None.
  • Constraints: Must be a valid account. Id and accessible by logged in dealer
Yes
Lot
  • new Lots value
  • Type: Double
  • Default: none
Yes
Price
  • New open position price
  • Type: Double
  • Default: None
Yes
BuySell
  • The new position type
  • Type: Integer
  • Default: none
  • Can be one of the following:
    1: for buy type
    -1: for sell type
Yes
Interest
  • Updated interest value
  • Type: Double
  • Default: None
Yes
Note
  • Custom String is used to marking the updated position.
  • Type: String
  • Default :
No
UserDefinedDate
  • The Updated Trade open time
  • Type: String
  • Default: which means now
  • Constraints: Must be in the format (DD/MM/yyyy HH:mm:ss)
No


Response Elements

Name Description
Result The operation returns the updated position ticket number in case of success, otherwise, an explicit error code is returned

See Also

  • ManualUpdateLimit
  • ClosePosition
  • ManualDeleteLimit


VertexFX BackOffice WCF Service Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  BroadcastMessage

ManualNewLimit  

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.