Skip to main content
POST
Build bond yield curves from prices.

Authorizations

Authorization
string
header
required

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

Body

The fitting payload. Data must be non-empty and supplies bond identifiers, date-only market dates, currencies, prices, quotation flags, and fitting modes. Provider/environment scope selects the primary market data, MarketDataOverride supplies optional scenario inputs, and PricingModelManager optionally overrides organisation model settings.

Requests issuer bond-yield curves fitted to supplied bond-price inputs.

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

data
object[] | null

Bond-price inputs used to fit the issuer curves.

market_data_override
object

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

pricing_model_manager
object

Pricing-model configuration role accepted by calculation requests.

use_best_effort
boolean

Requests independent handling of input records when one cannot be processed; defaults to false.

individual_curve_per_bond_flag
boolean

Whether each bond receives a separate fitted curve; defaults to false.

Response

Returns fitted bond yield curves and errors for invalid provider scope, unsupported bonds or overrides, missing prerequisite market data, or failed issuer/date fits.

Returns issuer bond-yield curves fitted from the supplied bond prices.

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

bond_yield_curves
object[] | null

Fitted bond yield curves.