 | ITransactionsResourceGetListAsync Method (String, NullableGroup, NullableAssetType, NullableTransactionType, String, NullableDateTime, NullableDateTime, NullableUInt32, String, AccountsParameters, CancellationToken) |
Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.
Returns a list of transactions (such as deposits, withdrawals, and transfers) for a single, specified account.
Namespace: ETradeNet.Accounts.TransactionsAssembly: ETradeNet.Accounts (in ETradeNet.Accounts.dll) Version: 1.0.5793.41751
SyntaxTask<IGetListResponse> GetListAsync(
string accountId,
Nullable<Group> group,
Nullable<AssetType> assetType,
Nullable<TransactionType> transactionType,
string tickerSymbol,
Nullable<DateTime> fromDate,
Nullable<DateTime> toDate,
Nullable<uint> count,
string marker,
AccountsParameters parameters,
CancellationToken cancellationToken
)
Function GetListAsync (
accountId As String,
group As Nullable(Of Group),
assetType As Nullable(Of AssetType),
transactionType As Nullable(Of TransactionType),
tickerSymbol As String,
fromDate As Nullable(Of DateTime),
toDate As Nullable(Of DateTime),
count As Nullable(Of UInteger),
marker As String,
parameters As AccountsParameters,
cancellationToken As CancellationToken
) As Task(Of IGetListResponse)
Task<IGetListResponse^>^ GetListAsync(
String^ accountId,
Nullable<Group> group,
Nullable<AssetType> assetType,
Nullable<TransactionType> transactionType,
String^ tickerSymbol,
Nullable<DateTime> fromDate,
Nullable<DateTime> toDate,
Nullable<unsigned int> count,
String^ marker,
AccountsParameters^ parameters,
CancellationToken cancellationToken
)
abstract GetListAsync :
accountId : string *
group : Nullable<Group> *
assetType : Nullable<AssetType> *
transactionType : Nullable<TransactionType> *
tickerSymbol : string *
fromDate : Nullable<DateTime> *
toDate : Nullable<DateTime> *
count : Nullable<uint32> *
marker : string *
parameters : AccountsParameters *
cancellationToken : CancellationToken -> Task<IGetListResponse>
Parameters
- accountId
- Type: SystemString
Numeric account ID. Required. - group
- Type: SystemNullableGroup
Major groupings of transaction types. - assetType
- Type: SystemNullableAssetType
Asset type. Only allowed if group is Trades. Required if transactionType is specified. - transactionType
- Type: SystemNullableTransactionType
Transaction type. One or more may be specified. Only allowed if assetType is specified. Required if tickerSymbol is specified. - tickerSymbol
- Type: SystemString
A single market symbol. Only allowed if group is Trades. Only allowed if transactionType is specified. - fromDate
- Type: SystemNullableDateTime
The earliest date to include in the date range. - toDate
- Type: SystemNullableDateTime
The latest date to include in the date range. - count
- Type: SystemNullableUInt32
The number of transactions to return in the response. The default is 50. - marker
- Type: SystemString
The desired starting point of the set of items to return. - parameters
- Type: ETradeNet.AccountsAccountsParameters
Common parameters. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token.
Return Value
Type:
TaskIGetListResponseContainer for a list of transactions for a single account (asynchronous task).
Exceptions
See Also