Skip to main content
POST
Estimate survival curves from CDX spreads.

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 contain distinct Bloomberg CDX identifiers, one shared market date, and traded spreads in basis points; the provider or environment fields select the provider scope stamped on returned curves. AssumedRecoveryRate and RunningCoupon do not override the recognised index terms in this operation.

Requests survival curves fitted to supplied CDX observations.

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

CDX observations with distinct recognised Bloomberg CDX codes and one shared date-only market date.

Response

Returns the fitted survival curves and errors for mixed dates, duplicate, non-Bloomberg or unknown CDX codes, unsupported coupon terms, or failed fits.

Returns survival curves fitted from the supplied CDX observations.

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

survival_curves
object[] | null

Fitted survival curves.