Click or drag to resize
ITransactionsResourceGetListAsStreamAsync Method

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.Transactions
Assembly: ETradeNet.Accounts (in ETradeNet.Accounts.dll) Version: 1.0.5793.41751
Syntax
Task<Stream> GetListAsStreamAsync(
	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
)

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.

Return Value

Type: TaskStream
Response stream (asynchronous task).
Exceptions
ExceptionCondition
HttpRequestExceptionNetwork error.
ArgumentNullExceptionNull argument value (accountId).
ArgumentExceptionArgument value does not adhere to the specification (parameters).
See Also