Syntax
Public Function AccountStatusReport (ClientID As Long, AccountType As Integer) As String
Description
The theAccountStatusReport operation is used to get an account status report for all accounts under the given client number
Request Parameters
Name | Description | Required |
ClientID |
|
Yes |
AccountType |
|
Yes |
Response Elements
Name | Description |
Result | The operation returns a list of type AccountStatusReport, otherwise, an explicit error code is returned if ClientID is less than 0.
The Following are the AccountStatusReportdata member
|
NOTE:Equity= Balance + Credit + Flt PL
Marginlevel—-> If margin Req (used Margin) = 0ThenMarginlevel = 100%
ElseMarginlevel =Math.Round(100 * Equity / MarginReq, 2).ToString() + “%”
Free Margin = Equity -margin Req
Net Credit —> IfCredit >EquityThenNet Credit =Credit -Equity
ElseNet Credit = 0
Net Equity —> IfEquity > CreditThenNet Equity= Equity – Credit
ElseNet Equity = 0
See Also