CAccountHistory
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 01 September 2020 01:18 PM

Description

An object that holds account history data. You can invoke it using CVertexFXClientAPI.CAccountHistory.

The following are values and the description for every value:

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

SymbolID 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 wither 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)
RefPrice Reference symbol price value 
Profit The amount the profit/ loss for each transaction (If the transaction belongs to a money transaction it will be empty)
SymbolName trading symbol name.
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

See Also


VertexFX Client 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