Skip to main content

OPTIONCHAIN
High Usage

Fetches a current option chain from Market Data.

Video Tutorial

Sample Usage

=OPTIONCHAIN("AAPL","all","1/17/2025")
=OPTIONCHAIN("AAPL","side,strike,bid,ask,","1/17/2025")
=OPTIONCHAIN("AAPL","all,noheaders","60 DTE","150,160)
=OPTIONCHAIN("AAPL","all","60 DTE","100-200","calls")

Syntax

=OPTIONCHAIN(underlying symbol, [attributes], expiration date, [strikes], [filters])
  • underlying symbol (REQUIRED) Use the stock, etf, or underlying index symbol.
  • attributes (OPTIONAL "all" by default) Use one or more of the following attributes; seperate multiple attributes with commas:
    • "symbol" - The OCC option symbol.
    • "underlying" - The underlying symbol.
    • "expiration" - The option's expiration date.
    • "side" - Call or put.
    • "strike" - The option's strike price.
    • "first traded" - The date this option first began to trade.
    • "date", "updated" - The date and time of the quote.
    • "bid" – The bid price of the option.
    • "bid size" – The quantity of contracts offered at the bid price.
    • "mid", "price", "mark" – The midpoint price of the option.
    • "ask" – The ask price of the option.
    • "ask size" – The quantity of contracts offered at the ask price.
    • "last" – The last price of the option. Depending on the liquidity of the symbol, the last traded price could have occurred one second ago or one day ago.
    • "open interest" – The number of open contracts.
    • "volume" – The number of contracts negotiated during the day.
    • "in the money" – Will return TRUE if the option contract was in the money at the time of the quote or FALSE if the contract was not in the money at the time of the quote.
    • "intrinsic value" - The intrinsic value of the option, if any.
    • "extrinsic value" - The extrinsic or time value of the option.
    • "underlying price" – The price of the underlying security at the time of this option quote.
    • "iv", "implied volatility" - The implied volatility of the option.
    • "delta" - The delta of the option.
    • "gamma" - The gamma of the option.
    • "theta" - The theta of the option.
    • "vega" - The vega of the option.
    • "rho" - The rho of the option.
    • "all" – Returns all values.
    • "noheaders" – Returns values without column headers.
  • expiration date - (OPTIONAL) - The expiration date of the option chain. Options from this expiration will be returned. If no value is specified, the next monthly expiration will be used.
    • "date" - A single date in YYYY-MM-DD or MM/DD/YYYY format enclosed between quotes.
    • [date cell reference] - A cell reference to a date in Sheets.
    • "dte number" - Days to expiry. Return the expiration date most closely matching the indicated number. For example, if today was Jan 1 and you used a DTE of 45, the expiration closest to Feb 15 would be selected.
  • strikes (OPTIONAL) – Limit the strikes returned from the option chain formula to only the specified strikes or deltas. The formula will assume strikes for numbers greater than 1 and deltas for numbers less than 1 or when the word delta is placed before the number(s).
    • [number] - A single number or a cell reference to a number. Example: 150
    • [decimal] - A decimal number will be interpreted as a delta value to be matched and the formula will return the strike that most closely matches the delta provided. Example: .60
    • [range of numbers] - A range of strikes falling between two numbers. Example: "100-200"
    • [range of decimals] - A range of deltas falling between two decimals. Example: ".50-.60"
    • "delta [number]" - Use a single number for delta or a cell reference to a number. Example: "delta .60"
    • {array of numbers} - Use a one column array containing each strike or a cell reference to the array. Example: {1;2;3;4}
    • {array of decimals} - Use a one column array containing each delta or a cell reference to the array. Example: {.50;.60;.70;.80}
    • "string of numbers" - Seperate multiple strikes with commas. Example: "150,160,170"
    • "string of decimals" - Seperate multiple deltas with commas. Example: ".50,.60.,70"
    • "logical expression" - A logical expression. Example: "<200 delta <.50"
    • "limit [number]" - Limit the output to [number] strikes closest to the money. Example: "limit 4"
  • filters (OPTIONAL) – Use specific keywords to further filter the option chain.
    • "call", "calls" - Only return calls.
    • "put", "puts" - Only return puts.
    • "itm", "in the money" - Only return in the money options.
    • "otm", "out of the money" - Only return out of the money options.
    • "nonstandard", "non-standard" - Include non-standard contracts in the optionchain output.

Notes

  • All parameters must be enclosed in quotation marks or be references to cells containing text.
  • Dates and times are returned in the same timezone of the exchange.