davearch / ML-Stock-Prediction

Web Application for Stock Forecasting 10 days into the future built with Flask and React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ML Web Application for Stock Prediction

About

This is a Web Application built with Flask and React, meant more as a proof of concept, than a rigorous commercial app for to base your portfolio or trading on. Please don't use this and blame me if you lose money. The original Jupyter notebook that this web app is based on can be found here. This app also had its foundation in the template made by Eyong Kevin here

Instructions

Below are the installing and running procedues

Installing

  1. make sure you have python, npm, and pip installed on your machine. For this project, I used : npm v4.6.1, pip v18.0, python v3.6.2
  2. Enter in to the directary hello_template/templates/static/ and run the command npm install. This will download and install all the dependencies listed in package.json.
  3. In the static directory, start the npm watcher to build the front end code with the command npm run watch
  4. Create a python virtualenv(Optional)
  5. Install flask with the command $ pip install flask
  6. Install Reactjs with the command $ npm i react react-dom --save-dev

Running

  1. Go to the root directory and start the server with python run.py
  2. If all is working correctly, you will be given an address http://127.0.0.1:5000/ which you can open in your favorite browser and see our application running and displaying “Hello React!”

About

Web Application for Stock Forecasting 10 days into the future built with Flask and React


Languages

Language:Python 55.2%Language:JavaScript 37.6%Language:HTML 4.9%Language:CSS 2.4%