Syntax
Public Event AccountStatementsResultReceived(NoRows As Boolean, DataArray() As System.Array)
Description
This event is raised after requesting the account statement using the GetAccountStatement with a result from server according to the requested
statement report type.
Parameters
Parameter |
Description |
NoRows |
Used to detect if an empty report is received or not. Value of type is Boolean False: Means the report is not empty True: Means the report is empty |
ArrayData |
Data container that was filled in report rows, the result at the bellow result table |
Result Account summary
Data row index |
Column name |
Description |
1 |
Client Id |
Client number for the requested statement |
2 |
Account number |
Account number for the requested statement |
3 |
PrevMargin |
The initial balance value |
4 |
Dep |
The margin In/out value |
5 |
Trade |
The trading profit/loss value |
6 |
Comm |
The commission value |
7 |
Int |
The interest value |
8 |
MarginReq |
Used margin: Amount of money that a client can afford in his account to buy 1 lot of a certain currency |
9 |
Credit |
Amount of money put to the account of a certain client to be paid later |
10 |
AccIDPrefix |
The value that appears before the client ID |
11 |
AccIDSuffix |
The value that appears after the client ID |
12 |
Statement header |
The value that appear as statement report header |
13 |
Statement footer |
The value that appear as statement report footer |
Result for History statement
Data row index |
Column name |
Description |
1 |
Ticket ID |
The ticket number for each history |
2 |
Date/Time |
Date and time for each history |
3 |
Type |
The Action type L: liquidate BL: Buy Limit BS: Buy stop SL: Sell Limit SS: Sell Stop |
4 |
SymbolID |
The history trading symbol ID |
5 |
Amount |
The history trading amount of lot |
6 |
B/S |
The buy / sell description 1: Means buy / buy limit -1: Means Sell /Sell Limit 2: Means Buy stop -2: Means sell stop |
7 |
OpenTime |
The history open time |
8 |
Open/SL |
The open price or the stop loss price for each history |
9 |
Close/TP |
The close price or the take profit price for each history |
10 |
(Dp/Wt/Aj ) /RelatedTicket |
The money transaction amount / the related ticket number |
11 |
Commission |
The commission amount for each history |
12 |
Interest |
The interest amount for each history |
13 |
P/L |
The profit / loss value for each history |
14 |
SymbolName |
The history trading symbol name |
15 |
Method |
How the action was handled “AUTO” “CANCEL” ”CANCEL-NO MONEY” “DONE” “HEDGE” “MANUAL” “LIQ” Means liquidate |
Result for Pending statement
Data row index |
Column name |
Description |
1 |
Order number |
The pending order number |
2 |
Type |
The pending order type “OP”: New order “CP”: Close order “LO”: Limit / Stop “ST”: SL /TP |
3 |
B/S |
Buy or sell description 1: Means buy / buy limit -1: Means Sell /Sell limit
2: Means buy stop -2: Means sell stop |
4 |
Amount |
Pending order amount of lots |
5 |
SymbolID |
Trading symbol ID |
6 |
Price |
Pending order price |
7 |
ClosedTicket |
The related ticket number. |
8 |
SL |
Stop loss price value |
9 |
TP |
Take profit price value |
10 |
DateTime |
The pending order date and time |
11 |
Comment |
The pending order comment |
Result for Open position statement
Data row index |
Column name |
Description |
1 |
Ticket |
The open position ticket number |
2 |
Time |
The date and time for an open position |
3 |
Amount |
The amount of lot for an open position |
4 |
Price |
The Price value of an open position |
5 |
SymbolID |
The open position trading symbol ID |
6 |
SL |
The stop loss value |
7 |
TP |
The take profit value |
8 |
B/S |
Open position trading type 1: Means buy -1: Means sell |
9 |
Commission |
The commission amount for each open position |
10 |
Interest |
The interest amount for each open position |
11 |
ClosePrice |
The close price for each open position |
12 |
Comment |
The comment value for each open position |
13 |
Ref Symbol ID |
The reference symbol id for each open position. |
See Also
VertexFX Client API Index
Last Modified: 07 July 2017 03:13 PM
|