Udacity - Machine learning Nano Degree Program : Project-6 (Capstone project)
This is sixth and final capstone project in the series of the projects listed in Udacity- Machine Learning Nano Degree Program.
Investment firms, hedge funds and even individuals have been using financial models to better understand market behavior and make profitable investments and trades. A wealth of information is available in the form of historical stock prices and company performance data, suitable for machine learning algorithms to process.
Can we actually predict stock prices with machine learning? Investors make educated guesses by analyzing data. They'll read the news, study the company history, industry trends and other lots of data points that go into making a prediction. The prevailing theories is that stock prices are totally random and unpredictable but that raises the question why top firms like Morgan Stanley and Citigroup hire quantitative analysts to build predictive models. We have this idea of a trading floor being filled with adrenaline infuse men with loose ties running around yelling something into a phone but these days they're more likely to see rows of machine learning experts quietly sitting in front of computer screens. In fact about 70% of all orders on Wall Street are now placed by software, we're now living in the age of the algorithm.
This project utilizes Deep Learning models, Long-Short Term Memory (LSTM) Neural Network algorithm, to predict stock prices. For data with timeframes recurrent neural networks (RNNs) come in handy but recent researches have shown that LSTM, networks are the most popular and useful variants of RNNs.
I have used Keras to build a LSTM to predict stock prices using historical closing price and trading volume and visualize both the predicted price values over time and the optimal parameters for the model.
The challenge of this project is to accurately predict the future closing value of a given stock across a given period of time in the future. For this project I have used a Long Short Term Memory networks – usually just called “LSTMs” to predict the closing price of the S&P 500 using a dataset of past prices
Things i have learnt by completing this project:
This project uses the following software and Python libraries:
Getsymbols从雅虎拿到的股票数据有6列, XLF.Open XLF.High XLF.Low XLF.Close XLF.Volume XLF.Adjusted 其中比较tricky的就是Adjusted。网上找到的内容很多,但是都不太细致全面,对于非金融专业的人来说,理解还是比较困难。 今天就来细说一下。其实也很好理解了。 http://www.investopedia.com/as
https://gist.github.com/ElninoFong/d08051d98e634991cd93 http://www.cnblogs.com/grandyang/p/4295761.html #include <vector> #include <iostream> #include <cstdio> #include <climits> #include <cmath> usin
问题描述 采用集成学习的方法对美国爱荷华州埃姆斯地区的房价进行预测 数据集(train)中有1460个样本,81个特征,目标特征为房价 解决过程 导入数据 import pandas as pd train = pd.read_csv(r"C:\Users\SZS-Student\Desktop\机器学习与Python实践\train-2.csv") train.head() Id MSSub
题目源自于leetcode。 题目:Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell one share
Best Time to Buy and Sell Stock I Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one an
题目源自于leetcode。 题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you li
Bitcoin price prediction An implementation of the 'Bayesian regression for latent source model' method for predicting price variation of Bitcoin. You can read more about the method at https://arxiv.or
Cryptocurrency-Price-Prediction Cryptocurrency Price Prediction Using LSTM neural network Citing If you find this code useful in your research, please consider citing the blog: @misc{sagarcryptocurren
In-Stock 是一个 iOS 应用,用来检查你周边的苹果商店里 iPhone 是否有售。
stock-job-web V1 是基于 Python的 pandas、tushare、bokeh、tornado、stockstats、ta-lib 等框架开发的全栈股票系统。 1)可以直接使用docker直接本地部署运行,整个项目在docker hub上压缩后200BM,本地占用500MB磁盘空间。 2)使用Docker解决了Python库安装问题,使用Mariadb(MySQL)存储数据。借
Stock-Management-System Screenshots Login Dashboard Profile Records Modifying Records How to install Add this lines in path/to/xampp/apache/conf/extra/httpd-vhosts.conf: <VirtualHost *:80> Document
stock-market-india A npm package which fetches data from Bombay & National Stock Exchange and provides an API to access it. National Stock Exchange (NSE) API Get the stock market status (open/closed)