Skip to content

Prototype PWA that aims at profitable user investment by assisting the users in analyzing current stockmarket trends [Grand Finale, Barclays India Hackathon, 2019]

License

Notifications You must be signed in to change notification settings

nidheekamble/stockWatch

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Setup
  • Techstack
  • Extension
  • Maintainers

INTRODUCTION

Stockwatch is a prototype PWA that aims at profitable user investment by assisting the users in analyzing current stockmarket trends. The functionalities in the PWA include:

  • Search
    Stocks available can be searched for and analyzed

  • Stock Prediction: The said analysis is done on the basis of data available on the prices (WAP, highest, lowest, opening, etc.) at the corresponding date(s). The extent of range of prediction varies in accordance with the beginning date (of the data availability.
    The analysis is diaplyed graphically over the given range, with the appropriate suggestion of buying, selling, or holding the stock depending on the current date and its status with regards to the user.

  • News feed:
    Includes news about trending stocks and the ones shortlisted

Image source: https://codeburst.io/all-you-need-to-know-about-progressive-web-app-4ba73368da66

DEMO


SETUP

Initial setup

  1. Install all needed dependencies from dependencies.txt
pip3 install -r dependencies.txt
  1. In the pwa/ folder, run the following commands
npm install
npm run build

To run

  1. run the Flask server
python3 run.py
  1. To run the React dev server,
cd pwa/
npm run start

Note:

  1. All AJAX requests from React start with route /api
e.g: /api/hello
  1. React application can be accessed on localhost:8080 (react dev server) or 0.0.0.0:5000 (flask)
  2. You need not run the react dev server if you are using flask. Just make sure you npm run build to use the latest version of the PWA

TECHSTACK

  • Flask: Python 3.6, SQLAlchemy
  • React: JavaScript for PWA

EXTENSION

  • DialogFlow: webhook and export to Third Party Assistants: The current project is configured with Dialogflow and its Flask module. The webhook route exists in api/routes/py. An agent can be created to identify intends and trigger respective actions, and can be exported to Google Assistant, Facebook messenger, etc.

  • Shortlisting: The extant features can be made to operate on just the marked/shortlisted, instead of all records

MAINTAINERS

This project has been developed in the final round of Barclays India Hackathon 2019, at Pune, India in the time period of fifteen hours. The contributors to the project and this repository are :

Mr. Ameya Daddikar (AmeyaDaddikar)
Ms. Nidhee Kamble (nidheekamble)
Mr. Yash Gupte (yash8998)

About

Prototype PWA that aims at profitable user investment by assisting the users in analyzing current stockmarket trends [Grand Finale, Barclays India Hackathon, 2019]

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published