Syntax
Public Function SymbolLotsReport (ClientID As Integer, FromDate As String, ToDate As String,TransTag As String) As CallingResultsEnum
Description
This function used to get the symbol lots report that shows the net closed positions on each symbol with more detail for the account(s), since it shows all the symbols for each account. After SymbolLotsReport executes the ReportDataReceived event fire.
Parameters
Parameter |
Description |
ClientID |
The report will show the net closed positions on the symbols types (spots and future) for all accounts under this client. |
FromDate |
Specify the duration. Date in this format “DD/MM/YYYY HH:NN:SS” “” means from beginning |
ToDate |
Specify the duration. Date in this format “DD/MM/YYYY HH:NN:SS” “” means till now |
TransTag |
String value used to mark the requested report when the result came from server |
Return value Return value of type CallingResultsEnum, if the request sent to server successfully it will return SuccessResult.
Sample
Private Sub SyLORep_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SyLORep.Click
‘BOAPI is a predefined variable as CVertexBOAPI10
Dim Result As CallingResultsEnum
Result = BOAPI. SymbolLotsReport (BOAPI.RootID, "", "","")
End Sub
Results
The result of this report contains many details, the following table shows each column description:
Index |
Column Name |
Description |
1 |
Account |
Shows all the accounts IDs and (Name) for all the accounts who have closed positions on each symbol |
2 |
SymbolID |
The symbol ID of the closed positions on each symbol name for each account |
3 |
Amount |
The net amount of the closed positions on each symbol name for each account |
4 |
Commission |
The commission of the closed positions on each symbol name for each account |
5 |
Interest |
The interest of the closed positions on each symbol name for each account |
6 |
P/L |
The profit/loss of the closed positions on each symbol name for each account |
7 |
Client ID |
The client ID for the account |
8 |
TransTag |
The same string which sent by the requested report. |
See Also
VertexFX Backoffice API Index
|