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
    one man's trash is another man's treasure - Wiktionary, the free dictionary
    [2024]iPhone Playing Tricks? Find Out Why Location is Wrong!
    Housing near Juneau, WI - craigslist
    Paris 2024: Kellie Harrington has 'no more mountains' as double Olympic champion retires
    San Diego Terminal 2 Parking Promo Code
    Sprague Brook Park Camping Reservations
    Craigslist In South Carolina - Craigslist Near You
    Goteach11
    Cinepacks.store
    Jasmine
    The Blind Showtimes Near Showcase Cinemas Springdale
    Red Tomatoes Farmers Market Menu
    Elbasha Ganash Corporation · 2521 31st Ave, Apt B21, Astoria, NY 11106
    Unlv Mid Semester Classes
    Costco Gas Foster City
    Lazarillo De Tormes Summary and Study Guide | SuperSummary
    Urban Airship Expands its Mobile Platform to Transform Customer Communications
    Jellyfin Ps5
    Swgoh Blind Characters
    eHerkenning (eID) | KPN Zakelijk
    Georgia Cash 3 Midday-Lottery Results & Winning Numbers
    Cpt 90677 Reimbursem*nt 2023
    Violent Night Showtimes Near Johnstown Movieplex
    Cornedbeefapproved
    Mikayla Campinos: Unveiling The Truth Behind The Leaked Content
    Tinyzonehd
    Craigslist Comes Clean: No More 'Adult Services,' Ever
    Ihs Hockey Systems
    Kristy Ann Spillane
    2021 Tesla Model 3 Standard Range Pl electric for sale - Portland, OR - craigslist
    Best Restaurants Ventnor
    The Bold and the Beautiful
    Redbox Walmart Near Me
    Magicseaweed Capitola
    Myfxbook Historical Data
    Frcp 47
    Hindilinks4U Bollywood Action Movies
    Conroe Isd Sign In
    Craigslist Lakeside Az
    Aurora Il Back Pages
    Gravel Racing
    The best bagels in NYC, according to a New Yorker
    O'reilly's Palmyra Missouri
    Who Is Responsible for Writing Obituaries After Death? | Pottstown Funeral Home & Crematory
    Shoecarnival Com Careers
    Candise Yang Acupuncture
    Argus Leader Obits Today
    Dineren en overnachten in Boutique Hotel The Church in Arnhem - Priya Loves Food & Travel
    Tanger Outlets Sevierville Directory Map
    Tyrone Unblocked Games Bitlife
    Craigslist Charlestown Indiana
    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.