Syntax
Public Overrides Function MaintenanceMarginCallReport(ByRef ClientID As Integer) As TransResult
This function is used to get the maintenance margin call report which shows the close account(s) to liquidate. If the effective margin gets less than the amount which is set in the account(s) parameters, the account will show in this report. After MaintenanceMarginCallReport executes the ReportDataReceived event fires.
Parameters
Key | Description |
clientID | The report will show the account information for all accounts under this client. Value of type is Integer. |
Return value
Returns value of type TransResult. If the request was sent to server successfully it will return Succeeded.
Sample
Private Sub MaintenanceMargin_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaintenanceMargin.Click Dim Result As VertexFXBridgeAPI.TransResult Dim Root_ID As Integer = BO.GetBO.RootID () Result= BO.GetBO.MaintenanceMarginCallReport(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 group which you chose for the generated report. |
2 | Balance | The balance of each client showing in the report. |
3 | Flt PL | The floating profitloss of each client showing in the report. |
4 | Credit | The credit of each client showing in the report . |
5 | Margin requirement | The used margin of each client showing in the report. |
6 | Client ID | The client IDfor the account. |
See Also