get Intraday Stock Price

function getHistoricalIntraDayStockPrice obtains intraday stock price from Google.


Updated 24 Oct 2018

View License

*** looks like GOOGLE shut down the API ***
search stackover flow for more info and alternatives.

For the adventurous folks, I recommend giving Quantopian (python) or Quantconnect (python, c#) a try. Both platforms provide free intraday data as long as you are doing analysis/trading within their platform. I have had success with Quantopian, however they no longer provide live trading via Interactive Broker. Nevertheless, it still is a great platform for doing research given the data available within the platform. For folks considering live trading, you may have better luck with Quantconnect (I have never tried it though). Good luck!

function getHistoricalIntraDayStockPrice obtains intraday stock price from Google given the symbol of stock and the name of market which the stock is listed under. The accompanying file demonstrates one method for "cleaning" the data prior analysis.

Cite As

pangyuteng (2023). get Intraday Stock Price (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

updated description to state api has been shut down.

updated function cleanUSIntradayStockPrice.m
image source: