How To Get Historical Options Prices For Your Spreadsheet · Market Data (2024)

Last Update: February 11, 2024

Using the Market Data Add-on, it is possible to get historical options prices going back decades directly into your spreadsheet with a simple formula.

Once you know the option symbol that you need data for, use the OPTIONDATA formula to get a historical option quote. OPTIONDATA makes it possible to get historical options prices going back decades, allowing you to easily backtest any options strategy or simulate any past would-be options trade. Best yet, OPTIONDATA works almost exactly the same way as the GOOGLEFINANCE formula, so it is very easy to get started.

Make sure you install the Market Data Google Sheets Add-on to enable the OPTIONDATA formula in your spreadsheet.

Get a Single Historical Options Price Quote

How To Get Historical Options Prices For Your Spreadsheet · Market Data (4)The OPTIONDATA formula takes three parameters when returning a historical options quote from a specific date:

  1. Option Symbol
  2. Attribute(s) to return
  3. Date of the quote

In the example shown here we’re looking up the price of the AAPL Jul. 21, 2023 $160 call on January 3, 2023, the first trading day of 2023. The option symbol for this call is AAPL230721C00160000 and the full formula to get this historical quote is =OPTIONDATA("AAPL230721C00160000","date,bid,mid,ask","1/3/2023"). This will output a quote with the date of the quote, the bid, mid, and ask prices.

To learn more, take a look at the OPTIONDATA documentation if you’d like a complete list of all the attributes available.

Get A Series of Historical Option Prices

How To Get Historical Options Prices For Your Spreadsheet · Market Data (5)Suppose we wanted to see how the price of this call changed throughout the month of January. And let’s say we wanted the full level 1 quote, with the bid size, ask size, open interest, etc. Just add a 4th parameter to OPTIONDATA and it will output quotes for every day between the two dates. This time we’ll change the second parameter to "all" so that the formula will return all data it has available for these quotes. So our new formula would be: =OPTIONDATA("AAPL230721C00160000","all","1/1/2023","2/1/2023")

Note that the formula now returns much more information:

  1. Top of Book Bid / Ask Prices
  2. Bid / Ask Size
  3. Midpoint, Last Prices
  4. Open Interest & Volume
  5. In The Money / Out Of The Money
  6. Intrinsic / Extrinsic Value of the option at the time of the quote
  7. The underlying security’s price at the time of the option quote

Start Getting Historical Option Data For Free

You don’t need to pay to start using historical options prices. Market Data’s Free Forever plan will let you use up to 100 formulas per day for free in your Google Sheets spreadsheets. Power users who need access to lots of data can demo our service with a 30 day free trial and get up to 50,000 daily prices. Historical options prices are available for all U.S. stocks, ETFs, and indices, so there’s no longer any challenge in getting the data you need.

On this page

    Add a header to begin generating the table of contents

    Share this article

    Comments & Questions

    Get Started For Free

    No Credit Card Required!

    How To Get Historical Options Prices For Your Spreadsheet · Market Data (9)

    Real-Time & Historic Data For Stocks, Options, Crypto, Futures, Forex. Technical & Fundamental Analysis. Backtesting & Alpha Generation.

    Subscribe To Our Email List

    For Tutorials & Updates

    Useful insights on how to better work with Market Data for strategy, analysis, and trading. We promise, no stock tips or newsletters. Only useful information about how to better utilize our tools.

    How To Get Historical Options Prices For Your Spreadsheet · Market Data (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Tish Haag

    Last Updated:

    Views: 5798

    Rating: 4.7 / 5 (47 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Tish Haag

    Birthday: 1999-11-18

    Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

    Phone: +4215847628708

    Job: Internal Consulting Engineer

    Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

    Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.