Skip to main content
POST
Calculate futures prices using supplied data.

Authorizations

Authorization
string
header
required

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

Body

JSON request with non-empty Contracts. When MktDataContainer is null, supply meaningful PricingDate, MktDataDate, and reporting currency. With a container, those dates are not required. No provider selector is exposed.

Contracts and either embedded or dated market data used to request futures prices.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Tradables.ApiGetFuturesPriceRequest, Derivitec.Web.Core
contracts
object[] | null

Contracts whose futures prices are requested.

Polymorphic base role shared by public contract definitions.

mkt_data_container
object

Serializable collection of the market data required by a valuation request.

pricing_date
string<date-time>

Valuation date used when no embedded market-data container is supplied.

mkt_data_date
string<date-time>

Date of market data used when no embedded market-data container is supplied.

reporting_currency
string | null

Currency in which the futures-price results are requested; code standard is not defined here.

Response

Returns futures prices or an unsuccessful payload with errors.

Futures prices and validation diagnostics returned for the requested contracts.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Tradables.ApiGetFuturesPriceResponse, 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.

futures_prices
number<double>[] | null

Calculated futures prices; result ordering and quotation convention are not defined here.

validation_errors
string[] | null

Validation diagnostics produced while processing the requested contracts.