Click or drag to resize
IQuoteResourceGetAsync Method (String, NullableDetailFlag, MarketParameters, 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 detailed market information for securities.

Namespace: ETradeNet.Market.Quote
Assembly: ETradeNet.Market (in ETradeNet.Market.dll) Version: 1.0.5793.41727
Syntax
Task<IGetResponse> GetAsync(
	string[] symbols,
	Nullable<DetailFlag> detailFlag,
	MarketParameters parameters,
	CancellationToken cancellationToken
)

Parameters

symbols
Type: SystemString
One or more symbols for equities or options, up to a maximum of 25. Symbols for equities are simple, e.g. GOOG. Symbols for options are more complex, consisting of six elements separated by colons, in this format: underlier:year:month:day:optionType:strikePrice. Required.
detailFlag
Type: SystemNullableDetailFlag
Specifies which details to return in the response. The default is All.
parameters
Type: ETradeNet.MarketMarketParameters
Common parameters.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskIGetResponse
Get method response (asynchronous task).
Exceptions
ExceptionCondition
ETradeExceptionE*TRADE API exception.
HttpRequestExceptionNetwork error.
ArgumentOutOfRangeExceptionArgument value does not fall in the specified range (symbols).
ArgumentNullExceptionNull argument value (symbols).
ArgumentExceptionArgument value does not adhere to the specification (parameters).
OperationCanceledExceptionAsynchronous task canceled (cancellationToken).
ObjectDisposedExceptionDisposed object accessed (cancellationToken).
See Also