> ## 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.

# Options Yields

> The "Covered Call" strategy assumes the trader is long exactly one unit of underlying asset after proceeds from selling their call.

Example: Underlying price = \$500, Trader position in underlying before selling the call = \$475 Short \$700 call proceeds = \$25 Trader positioning in underlying after short call proceeds = \$500 (one whole unit)

RETURN CALCULATIONS
Absolute Yield: \$25/\$475 Annualized Yield: \$25/\$475 * (525,600 / minutes left until expiration)

The "Cash Secured Put" yield assumes the trader maintains enough cash on hand AFTER proceeds from selling the put.

Example: Trader's cash position BEFORE selling put = \$275 Short \$300 Put Proceeds = \$25 Trader cash balance
AFTER short put proceeds = \$300 (100% cash secured)

RETURN CALCULATIONS
Absolute Yield: \$25/\$275 Annualized Yield: \$25/\$275 * (525,600 / minutes left until expiration)




## OpenAPI

````yaml get /analytics/trades-flow/options-yields/tradfi
openapi: 3.1.0
info:
  title: derivatives-api
  version: '2'
servers:
  - url: https://api.amberdata.com/markets/derivatives
security:
  - sec0: []
paths:
  /analytics/trades-flow/options-yields/tradfi:
    get:
      summary: Options Yields
      description: >
        The "Covered Call" strategy assumes the trader is long exactly one unit
        of underlying asset after proceeds from selling their call.


        Example: Underlying price = \$500, Trader position in underlying before
        selling the call = \$475 Short \$700 call proceeds = \$25 Trader
        positioning in underlying after short call proceeds = \$500 (one whole
        unit)


        RETURN CALCULATIONS

        Absolute Yield: \$25/\$475 Annualized Yield: \$25/\$475 * (525,600 /
        minutes left until expiration)


        The "Cash Secured Put" yield assumes the trader maintains enough cash on
        hand AFTER proceeds from selling the put.


        Example: Trader's cash position BEFORE selling put = \$275 Short \$300
        Put Proceeds = \$25 Trader cash balance

        AFTER short put proceeds = \$300 (100% cash secured)


        RETURN CALCULATIONS

        Absolute Yield: \$25/\$275 Annualized Yield: \$25/\$275 * (525,600 /
        minutes left until expiration)
      operationId: tradfi-trades-flow-options-yields
      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: MSTR
        - 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
            default: hr
      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:
                        - absoluteYield: 0.5950772997764864
                          annualization: 0.4685494223363286
                          annualizedYield: 0.278823125055735
                          expirationTimestamp: 2027-01-15 00:00:00 000
                          indexPrice: 354.20001
                          instrumentNormalized: TRADFI-MSTR-15JAN27-1080-C
                          markPrice: 132.1418
                          putCall: Call
                          strike: 1080
                          timestamp: 2024-11-26 20:55:00 000
                          yieldStrategy: cashSecuredPut
                        - absoluteYield: 0.5989923639765177
                          annualization: 0.4685494223363286
                          annualizedYield: 0.2806575261250693
                          expirationTimestamp: 2027-01-15 00:00:00 000
                          indexPrice: 354.20001
                          instrumentNormalized: TRADFI-MSTR-15JAN27-1070-C
                          markPrice: 132.6855
                          putCall: Call
                          strike: 1070
                          timestamp: 2024-11-26 20:55:00 000
                          yieldStrategy: cashSecuredPut
        '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

````