Skip to main content
POST
Retrieve a borrow curve for one equity.

Authorizations

Authorization
string
header
required

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

Body

The query payload. Supply one equity Identifier, a date-only MarketDate, and optional MarketDataEnvironmentName or MarketDataEnvironmentNames; inherited ProviderId is not used by this action. ReturnForwardRates defaults to true, while false requests zero rates.

Selects a borrow curve and chooses forward-rate or zero-rate output.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetBorrowCurveDataRequest, Derivitec.Web.Core
identifier
object

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

market_date
string<date-time>

Market date used by the derived request.

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"

return_forward_rates
boolean

True requests forward rates and false requests zero rates; defaults to true.

Response

Returns the requested curve points, standardised boundary points where applicable, and errors for an unsupported identifier or unavailable curve.

Returns the requested borrow curve plus standardized boundary points.

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

curve_data
object[] | null

Borrow curve in the requested forward-rate or zero-rate representation.

additional_standardised_curve_data
object[] | null

Optional day-one or day-3650 boundary points returned when the curve does not already reach those maturities.