Knowledgebase:
CAccountHistory
Posted by Angham Al-Banawien, Last modified by Rawan Al Hourani on 21 October 2018 08:25 AM

 Properties

Part Description 
Ticket The ticket/order ID for each transaction
HisTime Shows the date and time for each transaction
HisType

The type detail of each transaction :

"N" New
"L" Liquidate (Close)
"Dp" Deposit
"Wd" Withdrawal
"Aj" Adjustment
"Ci" Credit in
"Co" Credit out
'SL/TP"  SLTP order
"BL" Buy limit
"SL" Sell Limit
"BS" Buy Stop
"SS" Sell Stop

SymbolName The symbol ID for each transaction (If the transaction belongs to a money transaction it will be empty)
Lots The trade amount of the transaction (If the transaction belongs to a money transaction it will be empty)
BuySell

The type of the transaction whether buy or sell (If the transaction belongs to a money transaction it will be empty)
1 :  mean Buy/ Buy Limit Type 
-1 : mean Sell / Sell Limit Type 
2 :  mean Buy StopType
- 2 : mean Sell Stop Type

OpenTime The opening date and time of the transaction (If the transaction belongs to a money transaction it will be empty)
OpenPrice The open price or the stop loss price for each transaction (If the transaction belongs to a money transaction it will be empty)
ClosePrice The close price or the take profit price for each transaction (If the transaction belongs to a money transaction it will be empty)
AccTransAmount The amount of the money transaction (Deposit, Withdrawal or Adjustment)
Comm The commission amount for each transaction (If the transaction belongs to a money transaction it will be empty)
Interest The interest amount for each transaction (If the transaction belongs to a money transaction it will be empty)
RefAskPrice Ask price for the reference symbol.
RefBidPrice Bid Price for the reference symbol.
Profit The amount of profit/ loss for each transaction (If the transaction belongs to a money transaction it will be empty)
Method How the action was handled, it can be one of (Auto, Buy Limit, Buy Stop, Sell Limit, Sell Stop, Cancel, Cancelled – No Money, Done, Hedge, Liquidate, Manual, Order, Take Profit, Stop Loss)
Comment The comment of the order
OpenTicketID            The ticket number for the pending order when hit.

See Also


Back to VTL Client Script 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