Skip to main content
POST
Store equity-to-FX correlations.

Authorizations

Authorization
string
header
required

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

Body

The upload payload. Provide either ProviderId or MarketDataEnvironmentName, not both; omitting both selects the caller's organisation scope. Supply a non-empty EquityFxCorrelationData collection in which every row contains an equity identifier, currency, date, and coefficient.

Submits dated equity-to-FX correlations.

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

equity_fx_correlation_data
object[] | null

Dated equity-to-FX correlation observations to upload.

Response

Returns whether any correlations were stored and errors for invalid providers, dates, currencies, identifiers, duplicate conflicts, out-of-range coefficients, or missing listing currency.

Common operation outcome containing a success indicator and any error messages.

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