Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
/ stockpal Public archive

A React/Flask application for displaying stock data fetched from IEX (EDIT: this no longer works due to the IEX API being deprecated)

License

Notifications You must be signed in to change notification settings

l3ku/stockpal

Repository files navigation

stockpal

An application that displays stock data from the IEX API and allows to perform analysis on the stock charts. This application was originally made for the Programmatic Content Management course at Tampere University of Technology. See it live in action at http://koodi.me.

Features

  • Browse IEX gainer stocks
  • Browse all available stocks and search from them
  • View stock information, news and chart
  • Perform moving average analysis on stocks
  • Save stocks to own list

Running locally

First, create an environment variable file from the sample file env.sample:

$ cp env.sample .env
$ vim .env
{EDIT FILE}

The GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET are not mandatory, but they are required for login services which are done via the Google OAuth2 API. For creating these for your local dev setup, navigate to https://console.developers.google.com/apis/dashboard, and:

  • create a new project
  • create credentials for that project
  • use the client ID and secret from the credentials in the values for GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET values in your .env file, respectively
  • allow http://localhost/login/google as an authorized redirect URI
  • Done!

Full instructions for Google Oauth2 available at https://developers.google.com/identity/protocols/OAuth2. Navigate to the project root directory and run make all.

Screenshots

All stocks

Searching from all stocks

Gainer stocks

Own stocks

Stock page

Stock chart

Stock chart with 150 day moving average applied

About

A React/Flask application for displaying stock data fetched from IEX (EDIT: this no longer works due to the IEX API being deprecated)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published