listTimeRanges

Operation

listTimeRanges

List< TimeRangeResult > listTimeRanges#listTimeRanges ( MarketFilter filter , TimeGranularity granularity ) throws APINGException

Returns a list of time ranges in the granularity specified in the request (i.e. 3PM to 4PM, Aug 14th to Aug 15th) associated with the markets selected by the MarketFilter.

Parameter name

Type

Required

Description

filter

MarketFilter

(tick)

The filter to select desired markets. All markets that match the criteria in the filter are selected.

granularity

TimeGranularity

(tick)

The granularity of time periods that correspond to markets selected by the market filter.

Return type

Description

List< TimeRangeResult >

output data

Throws

Description

APINGException

Generic exception that is thrown if this operation fails for any reason.

Since 1.0.0