Git Product home page Git Product logo

pythonsp500-plotly-dash's Introduction

pythonsp500-plotly-dash

This repo contains the Jupyter notebook and Python script with the full code for my "Python for Finance: Plotly Dash" post, as well as the excel file initially read in as the sample portfolio, using pandas, and the csv files generated from the Jupyter notebook. Using a virtual environment, Python 3.6, and the libraries listed in the requirements.txt file, you can run a Plotly Dash dashboard locally based on the csv files generated from the Jupyter notebook.

To recreate the entire analysis, I recommend setting up a virtual environment (described below), loading the requirements.txt file into the virtual environment (also described below), and pip install or conda install any additional packages -- the explanations for how to accomplish all of this should either be described below or provided in the virtual environment link below.


Relevant posts where you can find the tutorial

  1. Medium: https://towardsdatascience.com/python-for-finance-dash-by-plotly-ccf84045b8be
  2. Personal blog: https://kdboller.github.io/2018/07/13/python-for-finance-plotly-dash.html

Getting set up

  1. Clone this repository: git clone https://github.com/kdboller/pythonsp500-plotly-dash; or
  2. Hit 'Clone or download' on the main repo page in order to grab the Jupyter notebook, python script and the sample excel file.

Note on Anaconda distribution and Python Notebook

I highly recommend that you download the Anaconda distribution. You can also run the notebook without Anaconda using pip to install the required packages, however Anaconda is the industry standard for data science.

Python Version and Virtual Environments

It is recommended that you have Python 3.6 or greater so that you can run the Plotly Dashboard locally with the provided csv files.

I strongly recommend setting up a virtual environment. I manage all of my virtual environments with Anaconda.

Here is a very thorough explanation on how to set up virtual environments within Anaconda.

Requirements

For any packages not distributed under Anaconda, e.g., the Yahoo Finance package fix, you can do the following in your virtual environment: pip install [name of package].

pythonsp500-plotly-dash's People

Contributors

kdboller avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.