Skip to main content
POST
Retrieve pricing details for a contract.

Authorizations

Authorization
string
header
required

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

Body

JSON request with non-null Contract, PricingDate, MktDataDate, optional MarketDataOverride, optional reporting currency and equity-index decomposition choices, and one unambiguous environment-selection form.

One contract and valuation context used to request tabular pricing details.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Tradables.ApiPricingDetailsForContractRequest, Derivitec.Web.Core
provider_id
string | null

Opaque identifier of a single market-data provider to use instead of either environment-name option.

entity_access_type
enum<string>

Access classification associated with the selected market-data environment.

Available options:
view,
edit,
owner,
blocked
market_data_environment_names
string[] | null

Names of the market-data environments to use. Do not combine this list with the single-name or provider-ID alternatives.

market_data_environment_name
string | null

Single market-data environment name to use instead of market_data_environment_names or provider_id.

Example:

"Example market data"

contract
object

Polymorphic base role shared by public contract definitions.

pricing_date
string<date-time>

Date on which the contract's pricing details are evaluated.

mkt_data_date
string<date-time>

Date of market data used for the pricing details.

market_data_override
object

Optional market-data substitutions supplied with pricing, risk, or report calculations.

reporting_currency
string | null

Currency used to express applicable pricing-detail values; code standard is not defined here.

equity_indices_to_decompose
object[] | null

Equity-index identifiers paired with flags controlling whether each index is decomposed in the result.

Response

Returns pricing details, aggregate success, and errors.

Tabular pricing details returned for one contract.

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

pricing_details
object[] | null

Pricing-detail table returned for the requested contract.