ai_in_finance
v1.0.3
Published
## Objective * Build a stock price prediction web applilcation in python using Keras, Tensorflow and React-Redux.
Downloads
5
Readme
AI_In_Finance
Objective
- Build a stock price prediction web applilcation in python using Keras, Tensorflow, and MERN stack with Redux. This module is designed to be a simple component and therefore can be served as a wrapper to plug into your own project.
Structure
Frontend
Frontend simple webpage is build with React-Redux. The learning summary can be found here.
Server
Server is Express web application framework with
node.js
.Express
is used to route data from database to be displayed to react webpage.Database (via terminal)
In this project, the database is MongoDB, which is an open source, and leading NoSQL DB. In this project, we statically save trained data (stock and its price) into the database, and user can retrieve the price from the interface with
get
url.Machine learning/Python_data
Machine learning part is to supply the stock price number needed in the frontend. The algorithm will be referenced from this website. In this reference post, the neura network used is RNN. This is because
RNN
is preferred for sequencial data, and stock prices are a series of time sequential data.Please note that the data is not trained in this project. However it can be done by following the above blog and modify accordingly in python_data folder in this project.
Get started
cd frontend
npm start
Enter
Date
andStock
to predictPress
Predict Price
Access database
Please refer to this page -> With MongoDB (on terminal)
Install as a module
npm install [email protected]
Learning resources
- Financial side
- http://karpathy.github.io/2015/05/21/rnn-effectiveness/
- http://colah.github.io/posts/2015-08-Understanding-LSTMs/
- https://lilianweng.github.io/lil-log/2017/07/08/predict-stock-prices-using-RNN-part-1.html
- Algorithmic trading
- https://www.quantopian.com
- https://numer.ai/homepage
- https://academy.investopedia.com/products/become-a-day-trader?aca_ref=dfp-4490697266-138217071869
- Connection between react/dedux and python
- https://www.bedjango.com/blog/how-to-build-web-app-react-redux-and-flask/
- Seems quite easy by following this
- How to build react-redux web app