• 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/GetOpenTrades

GetOpenTrades

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

Syntax

 Public Function GetOpenTrades(AccountID As Long) As String

Description

The GetOpenTrades operation is used to get Open Trades that are related to a given account number.

Request Parameters

Name Description Required
AccountID
  • AccountID
  • Type: Long
  • Default: None
Yes


Response Elements

 

 

Name Description
PositionOperationType This operation returns a Composite JSON object of type OpenPositions. In case of success.
The following are the OpenPositions Data member:
Position Operation Type
1 Buy
-1 Sell
2 Buy Stop
-2 Sell Stop
SLTPOrders SLTP Orders For this position (List Of Type Managed Order)
– OrderID: Order ID
– Amount: Order Amount
– StopLoss: Stop Loss Price
– TakeProfit: Take Profit Price
– DateTime: Order Date Time
– AccountID: Order Account ID
– OrderOperation: Order Operation Type As String
– PositionTicketID: Position Ticket ID
TicketID Position Ticket ID
AccountID Position Account ID
BuySell Position Operation Type As String (Buy, Sell, Buy Stop, Sell Stop) .
ProfitLoss Position Profit Loss
Commission Position Commission
DateTimeĀ  Position Date Time
SymbolId Symbol Id
Amount Amount
Open Price Position Open Price
CurrentPriceĀ  Position Current PriceĀ 
Interest Position Interest
Comments Position Comments
SymbolName Symbol Name

See Also

  • GetClientByID
  • GetAccountByID
  • CreateOffice


VertexFX BackOfficeWCF Service Index

Was this helpful?

Yes  1 No
Leave A Comment Cancel reply

  GetClosedTrades

GetMoneyTransaction  

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.