# Stock Market Prediction with Machine Learning
This is a project I have done using matlab in the spring of 2018. It is an implementation of machine learning on stock market data.
For this project, no libraries were used. The deep learning algorithm was written manually based on mathematical principles.
SP500.pdf includes background, method, and how to run the programs found in this repository. Sort of a walk-through. It is intended for people who don't have a thorough understanding of stock market analysis.
project_stock.m is the main algorithm that trains with the historical data and predicts the S&P500's next day price.
Figures file include the figures found in the SP500.pdf file.
Data file includes the S&P500 and VIX historical data, both retrieved from Yahoo Finance. S&P goes back to 1950s while VIX goes back to 1990s. I used a modified version of realized standard deviation to extrapolate VIX into 1950s.
Others file include codes that test the machine learning algorithm with toy data. There is also a code that can visualize the S&P500 along with a technical indicator for the desired period.
Some nice figures from this project:
![alt text](https://github.com/danyelkoca/matlab-project/blob/master/Figures/Figure%202.png)
![alt text](https://github.com/danyelkoca/matlab-project/blob/master/Figures/Figure%2012.png)
![alt text](https://github.com/danyelkoca/matlab-project/blob/master/Figures/Figure%2014.png)
没有合适的资源?快使用搜索试试~ 我知道了~
matlab实现股票预测代码-SP500:使用机器学习进行股市预测
共26个文件
png:16个
m:6个
csv:2个
2星 需积分: 43 76 下载量 161 浏览量
2021-06-20
06:06:09
上传
评论 8
收藏 10.69MB ZIP 举报
温馨提示
matlab实现股票预测代码使用机器学习进行股市预测 这是我2018年Spring用matlab做的一个项目,是机器学习在股市数据上的一个实现。 对于这个项目,没有使用任何库。 深度学习算法是根据数学原理手动编写的。 SP500.pdf 包括背景、方法以及如何运行此存储库中的程序。 有点像走秀。 它适用于对股票市场分析没有透彻了解的人。 project_stock.m 是使用历史数据进行训练并预测 S&P500 次日价格的主要算法。 图形文件包括在 SP500.pdf 文件中找到的图形。 数据文件包括 S&P500 和 VIX 历史数据,均从雅虎财经检索。 标准普尔可以追溯到 1950 年代,而 VIX 可以追溯到 1990 年代。 我使用已实现标准偏差的修改版本将 VIX 外推到 1950 年代。 其他文件包括使用玩具数据测试机器学习算法的代码。 还有一个代码可以将 S&P500 以及所需时期的技术指标可视化。 这个项目的一些不错的数字:
资源推荐
资源详情
资源评论
收起资源包目录
SP500-master.zip (26个子文件)
SP500-master
SP500.pdf 7.61MB
Others
data_preparation.m 8KB
project_toy3.m 5KB
data_plot.m 3KB
project_toy1.m 5KB
project_toy2.m 5KB
README.md 1KB
Data
VIX.csv 133KB
SP.csv 1.2MB
Figures
Figure 15.png 739KB
Figure 16.png 602KB
Figure 14.png 658KB
Figure 1.png 689KB
Figure 13.png 502KB
Figure 11.png 308KB
Figure 8.png 239KB
Figure 3.png 437KB
Figure 10.png 400KB
Figure 9.png 468KB
Figure 2.png 701KB
Figure 7.png 317KB
Figure 4.png 300KB
Figure 5.png 262KB
Figure 12.png 612KB
Figure 6.png 405KB
project_stock.m 4KB
共 26 条
- 1
资源评论
- 雨中漫步杲2022-09-26这个不能运行啊
weixin_38619967
- 粉丝: 5
- 资源: 928
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功