Skip to main content
POST
Retrieve FX crosses from pair descriptors and market dates.

Authorizations

Authorization
string
header
required

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

Body

The query payload. FxPairs, Descriptors, and MarketDates must all be non-empty; pair codes use the conventional six-character format and dates use ISO 8601 date/time values.

Queries FX cross market data by pair or descriptor across market dates.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetFxCrossesRequest, Derivitec.Web.Core
fx_pairs
string[] | null

FX pairs that narrow the FX crosses operation.

market_dates
string<date-time>[] | null

Market dates on which FX crosses are requested.

descriptors
object[] | null

Structured selectors for the requested FX crosses.

Response

Returns the available FX crosses for the requested descriptors and dates, together with lookup errors.

Returns FX cross market-data records and query errors.

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

fx_crosses
object[] | null

FX cross market-data records returned by the query.