Syntax
Function TransactionLogReport(ClientID As Long, FromDate As String, ToDate As String, TicketOrder As Long, Trans As Long, TransType As Long, Account As Long, BuySell As Integer, LotsAmount As Double, SymbolID As Long, Price As Double, ClosePrice As Double, WhoType As Long, WhoID As Long, IP As String, Method As String) As String
Description
The TransactionLogReport operation is used the transaction log report that shows the entire transaction done in the whole system for a given client number.
Request Parameters
Name |
Description |
Required |
ClientID |
This operation returns a Composite JSON object of the type TransactionsReport. In case of success.
The following are the TransactionsReport Data member:
- Client identifier to get floating Status for
- Type: Long
- Default: None
- Constraints: Must be valid client Id and accessible by logged in dealer
|
Yes |
FromDate |
- Specify the duration
- Type: String
- Default: None
- Constraints: Must be valid date format (DD/MM/YYYY HH:NN:SS)
- : means from the beginning
|
Yes |
ToDate |
- Specify the duration
- Type: String
- Default: None
- Constraints: Must be valid date format (DD/MM/YYYY HH:NN:SS)
- : means till now
|
Yes |
TicketOrder |
- The report will show the transaction for this ticket number or order number
- Type: Long
- Default: None
- 0: means for all ticket
|
No |
Trans |
- The report will show the transactions for this type
- Type: Long
- Default: None
- Can be one of the following
0: means ALL
1: means New
2: means Update
3: means Delete
|
Yes |
TransType |
- The report will show the transactions for this type
- Type: Long
- Default: None
- Can be one of the following
0: means All
1: means New
2: means liquidate
3: means DP/WD/AJ/Ci/Co
4: means TP/SL order
5: limit/stop order
6: Delivery
|
Yes |
Account |
- The report will show the transactions for this account number
- Type: Long
- Default: None
- Constraints: Must be valid account Id and accessible by logged in dealer
|
Yes |
BuySell |
- The report will show the transactions for this type
- Type: Integer
- Default: None
- Can be one of the following
1: means buy type
-1: means sell type
2: means buy stop type
-2: means sell stop type
|
Yes |
LotsAmount |
- The report will show the transaction for this amount
- Type: double
- Default: None
- 0: means for all lots amount
|
Yes |
SymbolID |
- The report will show the transaction for this symbol ID
- Type: Integer
- Default: None
- 0: means for all Symbol
|
Yes |
Price |
- The report will show the transaction for this price
- Type: Double
- Default: None
- 0: means for all Prices
|
Yes |
ClosePrice |
- The report will show the transaction for this close price
- Type: Double
- Default: None
- 0: means for all close Prices
|
Yes |
WhoType |
- The report will show of Dealer or client
- Type: Integer
- Default: None
- Can be one of the following
0: means for all
1: means for Dealer
2: means for Client
|
Yes |
WhoID |
- The Id of Dealer or Client
- Type: Integer
- Default: None
- 0: means for all
|
Yes |
IP |
- The report will show the transactions of this IP
- Type: String
- Default: None
- : Means for all IPs
|
Yes |
Method |
- Who the action was handled
- Type: String
- Default: None
- Can be one of the following
: means for all
BL: means buy limit
BS: means buy stop
SL: means sell Limit
SS: means sell stop
AUTO
CANCEL
CANCELLED-NO MONEY
DONE
HEDGE
LIQ: means liquidate
MANUAL
ORDER
TP
|
Yes |
Response Elements
Name |
Description |
Result |
The operation returns a list of types TransactionLogReport, otherwise, an explicit error code is returned if ClientID is less than 0.
The Following are the TransactionLogReport Data member
- ClientID :Client Identifier
- AccountID :Account Identifier
- Time: Time
- TicketOrder :Ticket Order
- Trans: Trans
- TransType: Trans Type
- TransSubType: Trans Sub Type
- TicketOrder2: Ticket Order 2
- BuySell: Buy Sell
- Amount: Amount
- Symbole ID: Symbol ID
- PriceSL: Price SL
- ClosePriceSL: Close Price SL
- Commission: Commission
- Interest: Interest
- RefPrice: Ref Price
- WhoType: Who Type
- Who: Who
- Method: Method
- IP: IP
- Profit: Profit
- SymbolName: Symbol Name
- TicketOrder3: Ticket Order 3
- Comment: Comment
|