Knowledgebase:
SymbolLotsReport
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 12 December 2016 11:18 AM

Syntax

 Public Function SymbolLotsReport (ClientID As Integer, FromDate As String, ToDate As String,TransTag As String) As CallingResultsEnum

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

(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