1.0.3 • Published 6 years ago

ai_in_finance v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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

  1. cd frontend

  2. npm start

  3. Enter Date and Stock to predict

  4. Press Predict Price

Access database

Please refer to this page -> With MongoDB (on terminal)

Install as a module

npm install ai_in_finance@1.0.2

Learning resources