 | IPositionsResourceGetListAsync Method (String, NullableUInt32, String, NullableTypeCode, String, NullableCallOrPut, NullableDateTime, AccountsParameters) |
Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.
Retrieves the positions held in the specified account.
Namespace: ETradeNet.Accounts.PositionsAssembly: ETradeNet.Accounts (in ETradeNet.Accounts.dll) Version: 1.0.5793.41751
SyntaxTask<IGetListResponse> GetListAsync(
string accountId,
Nullable<uint> count,
string marker,
Nullable<TypeCode> typeCode,
string symbol,
Nullable<CallOrPut> callPut,
Nullable<DateTime> expDate,
AccountsParameters parameters
)
Function GetListAsync (
accountId As String,
count As Nullable(Of UInteger),
marker As String,
typeCode As Nullable(Of TypeCode),
symbol As String,
callPut As Nullable(Of CallOrPut),
expDate As Nullable(Of DateTime),
parameters As AccountsParameters
) As Task(Of IGetListResponse)
Task<IGetListResponse^>^ GetListAsync(
String^ accountId,
Nullable<unsigned int> count,
String^ marker,
Nullable<TypeCode> typeCode,
String^ symbol,
Nullable<CallOrPut> callPut,
Nullable<DateTime> expDate,
AccountsParameters^ parameters
)
abstract GetListAsync :
accountId : string *
count : Nullable<uint32> *
marker : string *
typeCode : Nullable<TypeCode> *
symbol : string *
callPut : Nullable<CallOrPut> *
expDate : Nullable<DateTime> *
parameters : AccountsParameters -> Task<IGetListResponse>
Parameters
- accountId
- Type: SystemString
Numeric account ID. Required. - count
- Type: SystemNullableUInt32
The number of positions to return in the response. The default is 25. - marker
- Type: SystemString
The desired starting point of the set of items to return. - typeCode
- Type: SystemNullableTypeCode
The type of security. - symbol
- Type: SystemString
The market symbol. Required if typeCode is Optn. - callPut
- Type: SystemNullableCallOrPut
The operation type specified in the option order. - expDate
- Type: SystemNullableDateTime
The date the option will expire, as specified in the option contract. Required if typeCode is Optn. - parameters
- Type: ETradeNet.AccountsAccountsParameters
Common parameters.
Return Value
Type:
TaskIGetListResponseGetList method response (asynchronous task).
Exceptions
See Also