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

Methods

home/Knowledge Base/Technical Support/API/Client API's/VTL/VertexFX Client API (ActiveX DLL)/Methods/GetAccountHistory

GetAccountHistory

12 views 0 Updated on December 1, 2023 hybrid-solutions

Syntax

 Public Function GetAccountHistroy (AccountID As Integer, Optional LastXDays As Integer = -1, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum

Description

This function shows the entire transactions done in the whole system for a certain account. After GetAccountHistorymethod executes theAccountHistoryReceivedevent fires.

Parameters

Part Description
AccountID Account number to show the entire transaction done for it, value of type Integer
LastXDays To get the entire transaction done for last X value, value of type Integer
FromDate Specify the duration.
Date in this format DD/MM/YYYY HH:NN:SS
means from beginning
ToDate Specify the duration
Date in this format DD/MM/YYYY HH:NN:SS.
means till now

Return value

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

Sample

Private Sub GetHistory_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetHistory.Click        BOAPI is predefined variable as CVertexBOAPI        Dim Result as CallingResultsEnum        Dim AccountID As integer = 123456789        Dim DateFrom As String =         Dim DateTo As String =         Result = BOAPI.GetAccountHistory (AccountId,-1, DateFrom, DateTo)        MsgBox (Result.ToString)End Sub

See Also

  • CloseByHedge
  • AccountSummaries
  • SetLoginInfo


VertexFX Client 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
  • 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.