/Stock_Plotter

Users can enter a ticker symbol and the program will return a chart with price plotted over time

Primary LanguageJupyter NotebookMIT LicenseMIT

Stock Plotter

This project utilizes Python and a Flask framework to:

  1. Create a page where the user can enter a stock ticker symbol
  2. Gather the data for the entered ticker symbol via the Quandl API
  3. Plot the data with Bokeh and display it on the next webpage

Motivation

This project started as a pre-project to my education with The Data Incubator. Going forward, it will be a personal work with features added as listed below.

Contribute

If you'd like to contribute, the following can be considered as ideas for improvement:
  • Update the API used: As of April 2018, the Quandl dataset is no longer supported, and therefore does not produce current data. Obviously, this limits the application of this project, and therefore, this may be the best use of time.
  • Add a daterange option to the search (/index.html) page
  • Improve the aesthetics of the page
  • Add a dynamic search option with ticker-company name associations listed: In other words, as you type, a dropdown list of companies with names or ticker symbols adhering to the criteria you're typing shoudl populate.

Running the Application

Download the current version of the GitHub repo, and run the app.py file from the commandline. This will create a local flask server that you can open up with your web browser to view the contents.

Notes

Don't forget to take a look at the conda-requirements.txt and requirements.txt file before you start. Make sure that your system (virtual environment) adheres to these before starting any work.

Also, when editing the code, it's particularly helpful to set 'debug=True' (see the last line of app.py).