get Intraday Stock Price

function getHistoricalIntraDayStockPrice obtains intraday stock price from Google.
2.6K Downloads
Updated 24 Oct 2018

View License

*** looks like GOOGLE shut down the API ***
search stackover flow for more info and alternatives.
https://stackoverflow.com/questions/46070126/google-finance-json-stock-quote-stopped-working
https://stackoverflow.com/questions/51658401/google-finance-api-address-has-changed

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 (2024). get Intraday Stock Price (https://www.mathworks.com/matlabcentral/fileexchange/32745-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
1.1.0.1

updated description to state api has been shut down.

1.1.0.0

updated function cleanUSIntradayStockPrice.m
image source: http://smallivy.files.wordpress.com/2010/05/moneyrunning.jpg

1.0.0.0