Knowledgebase:
AccountsStatusReport
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 12 December 2016 11:31 AM

Syntax

 Public Function AccountStatusReport (ClientID As Integer, AccountType As Integer,TransTag As String) As CallingResultsEnum

This function is used to show the account status for all accounts under the given client,After AccountStatusReport executes the ReportDataReceived event fire.

Parameters

Parameter Description 
ClientID The report will return the status for the accounts under this client
AccountType The type of the accounts that will appear in the report, wither it is for the normal accounts or for the coverage accounts, and then Press Report.
1 normal accounts
2 coverage accounts
TrasnTag String value used to mark the requested report when the result came from server

Rerurn value

Return value of type CallingResultsEnum, if the request sent to server successfully it will return SuccessResult

Sample


Private Sub Report_Click(sender As System.Object, e As System.EventArgs) Handles Report.Click

          '   BOAPI is a predefined variable as CVertexBOAPI10  

          Dim Result As CallingResultsEnum

          Result= BOAPI.AccountStatusReport (BOAPI.RootID, 1,"")

End Sub
 

Results  

The result of this report contains many details, the following table shows each column description:

Data row index Column Name Description
1 Account Shows the account ID for each client under the group that you have chosen for the generated report.
2 Balance The balance amount for each account
3 Credit The credit amount for each account.
4 Flt P/L The floating profit/ loss for each account.
5 Margin Req  The requirement margin for each  account  
6 Client ID  The client ID for the account 
7 commission The commission amount for each account
8 Trading P/L The profit/ loss for each account
9 TrasnTag The same string which sent by the requested report.

See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions