Download Yahoo Finance Data For Trading and Backtesting
Downloads 10 years worth of daily stock data from yahoo finance. The open, high, low prices are adjusted based on the adjClose field.
The output is saved in csv format in the directory specified by the DIRECTORY parameter.
Example:
Download the data of 5 technology stocks and save the result in the C:\StockData directory:
getyahoo10('AAPL,AMZN,GOOG,IBM,SAP', 'C:\StockData');
Citation pour cette source
tadeveloper (2024). Download Yahoo Finance Data For Trading and Backtesting (https://www.mathworks.com/matlabcentral/fileexchange/39858-download-yahoo-finance-data-for-trading-and-backtesting), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Computational Finance > Financial Toolbox >
- Computational Finance > Datafeed Toolbox > Financial Data >
- Computational Finance > Datafeed Toolbox > Financial Data > Money.Net >
Tags
Remerciements
A inspiré : Mean Variance Portfolio Optimization of S&P 500 Stocks, Yahoo! Finance Data Loader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Fixed Windows line breaks for downloaded data. |
||
1.0.0.0 |