SymbolLotsReport
Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 25 August 2020 08:23 AM


Syntax

Public Overrides Function SymbolLotsReport(ByRef ClientID As Integer, ByRef fromDate As String, ByRef ToDate As String) As VertexFXBridgeAPI.TransResult

This function is used to get the symbol lots report which 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

Key Description 
clientID The client number which the report will show symbol lots for all accounts under this client. Value of type is Integer.
FromDate Specify the duration. Value of type is String.
 
Date in this format “DD/MM/YYYY HH:NN:SS”, 
“” means form beginning 
ToDate Specify the duration. Value of type is String.
 
Date in this format “DD/MM/YYYY HH:NN:SS”,
 
“” means till now.

Return value

Returns value of type TransResult. If the request was sent to server successfully it will return Succeeded.

Sample

Private Sub SymbolLots_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SymbolLots.Click

    Dim Result As VertexFXBridgeAPI.TransResult

    Dim Root_ID As Integer = BO.GetBO.RootID ()

    Result= BO.GetBO.SymbolLotsReport(Root_ID,"","" )

 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 all the accounts IDs and name for all the accounts which have closed positions on each symbol type.
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 type for each account.
4 Commission The commission of the closed positions on each symbol type for each account.
5 Interest The interest of the closed positions on each symbol type for each account.
6 P\L The profit/loss of the closed positions on each symbol type for each account.
7 Client ID The client ID for the account. 

 


See Also


Back to VFXBO 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