get Intraday Stock Price
*** 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
Platform Compatibility
Windows macOS LinuxCategories
- Computational Finance > Datafeed Toolbox > Financial Data >
- MATLAB > External Language Interfaces > Other languages > Google >
Tags
Acknowledgements
Inspired: Volume Weighted Average Price from Intra-Daily Data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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
|
||
1.0.0.0 |