question

Upvotes
Accepted
19 13 14 14

Cap Volatility response has changed

Hi, I have realized that the response when requesting caplet volatility surfaces with https://api.refinitiv.com/data/quantitative-analytics-curves-and-surfaces/v1/surfaces endpoint has changed. Previously, there was a "description" field when you could find information such as "valuationDate", "currency", "referenceCapletTenor", "discountingTenor" and "volatilityType".

Please, I would like to know if it is possible to indicate something in the body request to get those values as well as the volatility points. P.S., my request body is based on the API playground example.

Thanks.

apirefinitiv-data-platformc#refinitiv-data-platform-libraries
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
111 1 0 1

Hi @YERAY SOSA ALONSO ,

Adding "outputs" section to the request should give you desired results. Here is request based on the example from API Playground:

{
  "universe": [
    {
      "surfaceTag": "USD_Strike__Tenor_",
      "underlyingType": "Cap",
      "underlyingDefinition": {
        "instrumentCode": "USD",
        "referenceCapletTenor": "3M",
        "discountingType": "OisDiscounting"
      },
      "surfaceLayout": {
        "Format": "Matrix"
      },
      "surfaceParameters": {
        "calculationDate": "2020-03-20",
        "xAxis": "Strike",
        "yAxis": "Tenor"
      }
    }
  ],
  "outputs": [
    "Headers",
    "Data",
    "Description"
  ]
}

Please let me know if you have any other questions.


Thanks,

Mark

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.