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 AccountStatusReportexecutes 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 whetherit is for normal accounts or for the coverage accounts. Value of type is Integer.
1 means normal 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 togenerate the report for. |
2 | Balance | The balance amount for each account. |
3 | Credit | The credit amount for each account. |
4 | Flt PL | 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 PL | The profit/Loss value for each account. |
See Also