Retrieve FX observations for an inclusive date range.
Use this operation to retrieve historical FX market data for one or more conventional six-character pair codes. Results are keyed by the same conventional pair codes supplied by the caller. The operation reads data only and does not use the provider fields on the request.
Authorizations
OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header
Body
The query payload. FxPairs must be non-empty and contain FX pair codes such as GBPUSD; StartDate and EndDate are required ISO 8601 date/time bounds.
Queries dated FX observations by currency pair and date range.
Derivitec.Web.Core.MarketData.ApiGetFxDataRequest, Derivitec.Web.Core Name of the market-data environment to use. Supply either this name or provider_id, not both.
"Example market data"
Opaque identifier of the market-data provider to use. Supply either this identifier or market_data_environment_name, not both.
Conventional six-character currency pairs, such as GBPUSD, that narrow the FX operation.
Required ISO 8601 date/time value whose calendar date is the inclusive lower boundary.
Required ISO 8601 date/time value whose calendar date is the inclusive upper boundary.
Response
Returns the available FX observations keyed by conventional pair code, plus any lookup errors.
Returns dated FX observations.
Derivitec.Web.Core.MarketData.ApiGetFxDataResponse, Derivitec.Web.Core Whether the operation completed successfully. The default is true; error outcomes set it to false.
true
Messages explaining operation-level failures. The collection is empty by default.
FX observations returned by the query.