> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Implied (vs) Realized

> This endpoint returns the close-to-close daily realized volatility for 5-days and 21-days. Using the daysToExpiration parameter, users can choose which "at-the-money" implied volatility to compare. Implied Volatility is returned on an hourly interval.

USA Trading hours are 14:30:00 - 21:00:00 UTC (9:30a-4pm ET)




## OpenAPI

````yaml get /analytics/realized-volatility/implied-vs-realized/tradfi
openapi: 3.1.0
info:
  title: derivatives-api
  version: '2'
servers:
  - url: https://api.amberdata.com/markets/derivatives
security:
  - sec0: []
paths:
  /analytics/realized-volatility/implied-vs-realized/tradfi:
    get:
      summary: Implied (vs) Realized
      description: >
        This endpoint returns the close-to-close daily realized volatility for
        5-days and 21-days. Using the daysToExpiration parameter, users can
        choose which "at-the-money" implied volatility to compare. Implied
        Volatility is returned on an hourly interval.


        USA Trading hours are 14:30:00 - 21:00:00 UTC (9:30a-4pm ET)
      operationId: tradfi-volatility-implied-vs-realized
      parameters:
        - name: currency
          in: query
          description: >
            **[Required]** The underlying currency for which there are listed
            option instruments. 

            **[Examples]** ` IBIT | COIN ` 
          required: true
          schema:
            type: string
            default: COIN
        - name: startDate
          in: query
          description: >-
            **[Required]** Payload only includes data after this date
            (inclusive). 

            **[Formats]** `seconds | milliseconds | iso8601`

            **[Examples]** `1578531600 | 1578531600000 | 2020-09-01T01:00:00`
          required: true
          schema:
            type: string
            format: date-time
            default: '2024-01-01'
        - name: endDate
          in: query
          description: >-
            **[Required]** Payload only includes data before this date
            (exclusive). 

            **[Formats]** `seconds | milliseconds | iso8601`

            **[Examples]** `1578531600 | 1578531600000 | 2020-09-01T01:00:00`
          required: true
          schema:
            type: string
            default: '2024-11-14'
        - name: timeFormat
          in: query
          description: >-
            **[Optional]** Time format of the timestamps in the return payload.

            **[Defaults]** `milliseconds | ms* | iso | iso8601 | hr |
            human_readable`
          schema:
            type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  title:
                    type: string
                  description:
                    type: string
                  payload:
                    type: object
              examples:
                Result:
                  value:
                    status: 200
                    title: OK
                    description: Successful request
                    payload:
                      data:
                        - atm10: 91.79
                          atm189: 77.18
                          atm21: 86.16
                          atm63: 80.66
                          atm84: 79.94
                          currency: COIN
                          exchange: tradfi
                          indexPrice: 284.6
                          realizedVolatility21: 146.02
                          realizedVolatility5: 222.2
                          timestamp: 2024-11-13 00:00:00 000
                          timestampImpliedVolatility: 2024-11-13 21:00:00 000
                        - atm10: 93.49
                          atm189: 77.92
                          atm21: 88.16
                          atm63: 82.28
                          atm84: 81.54
                          currency: COIN
                          exchange: tradfi
                          indexPrice: 284.25
                          realizedVolatility21: 146.02
                          realizedVolatility5: 222.2
                          timestamp: 2024-11-13 00:00:00 000
                          timestampImpliedVolatility: 2024-11-13 20:00:00 000
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````