Syntax
GetAccountStatement (AccountId As Long,FromDate As String ,ToDate As String)
Description
The GetAccountStatement operation is used to return a JSON object As List(Of Statement) which contains a given account statement between the starting date and ending date.
Request Parameters
Name |
Description |
Required |
AccountId |
- The intended account identifier.
- Type: Long.
- Default: None.
- Constraints: Must be a valid account ID, and accessible by a logged-in client.
|
Yes |
FromDate |
- Starting date for account statement query.
- Type: String.
- Default: 01/01/1970.
- Constraints: Must be in dd/MM/yyyy HH:mm:ss format.
|
No |
ToDate |
- Ending date for account statement query.
- Type: String.
- Default: System date.
- Constraints: Must be in dd/MM/yyyy HH:mm:ss format.
|
No |
Response Elements
Name |
Description |
Result |
This operation returns a given account statement upon success.
The returned array will hold the following values for each account ordered:
- result.
- Position As List(Of PositionStmt).
ClosePrice
ProfitLoss
PositionValue
Commission
Interest
IsFreezed
OpenValue
OpenPrice
ManagedTKTID
CurrentPrice
Symbol
SL
TP
SymbolName
BuySell
RefPrice
DateAudit
Note
delItems
ID
Time
Amount
TransType
- Order As List(Of OrderStmt).
OpenPrice
ManagedTKTID
CurrentPrice
Symbol
SL
TP
SymbolName
BuySell
RefPrice
DateAudit
Note
delItems
ID
Time
Amount
TransType
- History As List(Of HistoryStmt).
Ticket
Type
DateTime
SymbolID
Amount
BuySell
OpenTime
OpenSL
CloseTP
DpWdAj
Commission
Interest
ProfitLoss
SymbolName
RefPrice
Note
OpenPrice
OpenTicket
Method
MainTicket
ProviderName
- Summary As List(Of AccountSummaryStmt).
ClientID
Username
AccountID
PrevMargin
Sumdeposit
ProfitLoss
Comm
Interest
MarginReq
Credit
AccIDPrefix
AccIDSuffix
StatementHeader
StatemnetFooter
TradingType
Otherwise, an explicit error code is returned.
Type: JSON object as Array of String. |
See Also
VertexFX WCF Service Index