How To Get Intraday Stock Prices in Google Sheets · Market Data (2024)

Log In
Try For Free

Log Out
My Account

How To Get Intraday Stock Prices in Google Sheets · Market Data (3)

Learn how to get intraday stock prices in Google Sheets (with prices down to the minute) using a simple formula that works the same way as GoogleFinance.

Anyone analyzing stocks or ETFs on Google Sheets has been using the GOOGLEFINANCE formula to get daily or weekly stock quotes. Unfortunately, the Google Finance formula has never offered intraday stock prices and there is currently no way to get intraday stock data using the Google Financeformula. However, Market Data offers a simple formula that works exactly the same way as Google Finance, but can provide intraday stock data down to the minute.

How To Get Intraday Stock Prices in Google Sheets · Market Data (4)Get Intraday Stock Prices in Google Sheets

Getting intraday stock prices in Google Sheets has never been easier. Just use Market Data’s STOCKDATA formula the same way you’ve been using the Google Finance formula. Let’s assume you want intraday stock prices for AAPL on 1/10/2020. If you were using Google Finance, the formula would be as follows: =GOOGLEFINANCE("AAPL", "all", "1/10/2020", "1/11/2020", "daily"). The Google Finance formula would return just a single stock candle for 1/10/2020. However, if you use the STOCKDATA formula the exact same way: =STOCKDATA("AAPL", "all", "1/10/2020", "1/11/2020", "minutely")the STOCKDATA function will return intraday data (at the 1 minute resolution) for the day of 1/10/2020.

Get 5 Minute, 30 Minute, Hourly Candles or Any Other Resolution In Your Spreadsheet

By modifying the last parameter of the STOCKDATA formula, you can adjust the resolution of the candle output to whatever time resolution you are working in. Market Data supports any resolution, not just the commonly used ones. If you want to generate 23 minute candles, the STOCKDATA formula will generate candles with 23 minutes of data. Here are some of the resolutions you can use:

  • Minutely Resolutions: (“minutely”,“1”,“3”,“5”,“15”,“30”,“45”, …)
  • Hourly Resolutions: (“hourly”,“H”,“1H”,“2H”, …)
  • Daily Resolutions: (“daily”,“D”,“1D”,“2D”, …)
  • Weekly Resolutions: (“weekly”,“W”,“1W”,“2W”, …)
  • Monthly Resolutions: (“monthly”,“M”,“1M”,“2M”, …)
  • Yearly Resolutions: (“yearly”,“Y”,“1Y”,“2Y”, …)

For example, to get 4 hour candles for all of 2021 for AAPL, the formula would be:=STOCKDATA("AAPL", "all", "1/1/2021", "12/31/2021", "4H").

How To Get Intraday Historical Closing Prices in Google Sheets

If you are only interested in closing prices, you can filter the result from the formula using the second parameter. Let’s say you wanted the closing price on 2 hour candles for January 2022 for AAPL. The formula to use would be: =STOCKDATA("AAPL", "close", "1/1/2022", "1/31/2022", "2H").

Use Market Data Formulas As Inputs Into Your Other Formulas

Sometimes you might want feed the results of a Market Data formula into one of your other formulas as an input. You can instruct the Market Data formula to return a 1 column array with no headers by using the “noheaders” option when you make your request. For example, let’s suppose you wanted to calculate the average closing price during all of January 2022 for AAPL. This is easy to do by requesting the closing price for AAPL during January and embedding the result inside an AVERAGE formula. For example: =AVERAGE(STOCKDATA("AAPL", "close, noheaders", "1/1/2022", "1/31/2022", "daily")). The possibilities are endless.

On this page

    Add a header to begin generating the table of contents

    Share this article

    Related Tutorials

    Complete List of Index Option Tickers

    Read More

    How To Use The Mutual Fund API

    Read More

    Understanding Differences in Implied Volatility and Greeks Between Broker Platforms

    Read More

    Get Started For Free

    No Credit Card Required!

    Get Started Today

    How To Get Intraday Stock Prices in Google Sheets · Market Data (8)

    Real-Time & Historic Data For Stocks, Options, Mutual Funds, ETFs, and more. Use our data for Technical & Fundamental Analysis, Backtesting & Alpha Generation.

    Useful Links

    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.

    © 2024 Market Data. All Rights Reserved.

    How To Get Intraday Stock Prices in Google Sheets · Market Data (2024)
    Top Articles
    Shiba Inu Price Prediction for 2030: Will the Coin Reach US$1?
    How Much Should I Contribute to My 401(k)?
    English Bulldog Puppies For Sale Under 1000 In Florida
    Katie Pavlich Bikini Photos
    Gamevault Agent
    Pieology Nutrition Calculator Mobile
    Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
    Hendersonville (Tennessee) – Travel guide at Wikivoyage
    Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
    Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
    Craigslist Dog Kennels For Sale
    Things To Do In Atlanta Tomorrow Night
    Non Sequitur
    Crossword Nexus Solver
    How To Cut Eelgrass Grounded
    Pac Man Deviantart
    Alexander Funeral Home Gallatin Obituaries
    Energy Healing Conference Utah
    Geometry Review Quiz 5 Answer Key
    Hobby Stores Near Me Now
    Icivics The Electoral Process Answer Key
    Allybearloves
    Bible Gateway passage: Revelation 3 - New Living Translation
    Yisd Home Access Center
    Pearson Correlation Coefficient
    Home
    Shadbase Get Out Of Jail
    Gina Wilson Angle Addition Postulate
    Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
    Walmart Pharmacy Near Me Open
    Marquette Gas Prices
    A Christmas Horse - Alison Senxation
    Ou Football Brainiacs
    Access a Shared Resource | Computing for Arts + Sciences
    Vera Bradley Factory Outlet Sunbury Products
    Pixel Combat Unblocked
    Movies - EPIC Theatres
    Cvs Sport Physicals
    Mercedes W204 Belt Diagram
    Mia Malkova Bio, Net Worth, Age & More - Magzica
    'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
    Teenbeautyfitness
    Where Can I Cash A Huntington National Bank Check
    Topos De Bolos Engraçados
    Sand Castle Parents Guide
    Gregory (Five Nights at Freddy's)
    Grand Valley State University Library Hours
    Hello – Cornerstone Chapel
    Stoughton Commuter Rail Schedule
    Nfsd Web Portal
    Selly Medaline
    Latest Posts
    Article information

    Author: Reed Wilderman

    Last Updated:

    Views: 5526

    Rating: 4.1 / 5 (52 voted)

    Reviews: 91% of readers found this page helpful

    Author information

    Name: Reed Wilderman

    Birthday: 1992-06-14

    Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

    Phone: +21813267449721

    Job: Technology Engineer

    Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

    Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.