Download Yahoo Finance Data For Trading and Backtesting
版本 1.1.0.0 (1.9 KB) 作者:
tadeveloper
The script downloads 10 years of stock data from Yahoo Finance.
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');
引用格式
tadeveloper (2025). 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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Computational Finance > Financial Toolbox >
- Computational Finance > Datafeed Toolbox > Financial Data >
- Computational Finance > Datafeed Toolbox > Financial Data > Money.Net >
在 Help Center 和 MATLAB Answers 中查找有关 Financial Toolbox 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!