AccountStatusReport
Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 16 December 2019 02:39 PM


Syntax

Public Overrides Function AccountStatusReport(ByRef ClientID As Integer,ByRef AccountType As Integer) As TransResult

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

Parameters

Key Description 
clientID The client number which the report will show the status for all accounts under this client. Value of type is Integer.
AccountType The type of the account which will appear in the report whether it is for normal accounts or for the coverage accounts. Value of type is Integer.

1 means normal account
2 means coverage account

Return value

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

Sample

Private Sub AccountStatus_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AccountStatus.Click

    Dim Result As VertexFXBridgeAPI.TransResult

    Dim Root_ID As Integer = BO.GetBO.RootID ()

    Result= BO.GetBO.AccountStatusReport(Root_ID, 0)

 End Sub 

Result: 

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 of each client under the chosen group to generate the report for.
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 margin requirement 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 value for each account.

 


See Also


Back to VFXBO 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