Skip to main content
POST
Retrieve ETF premiums across a date range.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The query payload containing ETF Identifiers, inclusive date-only StartDate and EndDate bounds, and optional provider or environment scope.

Queries dated ETF premium observations by instrument and date range.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetEtfPremiumsRequest, Derivitec.Web.Core
market_data_environment_name
string | null

Name of the market-data environment to use. Supply either this name or provider_id, not both.

Example:

"Example market data"

provider_id
string | null

Opaque identifier of the market-data provider to use. Supply either this identifier or market_data_environment_name, not both.

identifiers
object[] | null

Instrument selectors whose etf premiums are requested.

Instrument code qualified by an identifier namespace and optional market code.

start_date
string<date-time>

Inclusive lower date-only boundary for the requested observations.

end_date
string<date-time>

Inclusive upper date-only boundary for the requested observations.

Response

Returns available premium observations keyed by the supplied ETF identifiers, together with unsupported-identifier, missing-data, or retrieval errors.

Returns dated ETF premium observations.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetEtfPremiumsResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

etf_premiums
object[] | null

ETF premium observations returned by the query.