Giter Club home page Giter Club logo

financial_planning's Introduction

Financial Planning


Welcome to my repository for the project on financial planning. Please explore the codebase!

“Always borrow money from a pessimist. He won’t expect it back.” – Oscar Wilde


Analytical Summary

With minor changes, you can use this project to evaluate your financial health. First, you will be able to see savings and determine if you have enough reserves for an emergency fund. Second, you will be able to forecast a reasonably effective retirement plan based on your current holdings of cryptocurrencies, stocks, and bonds.


Technologies

This project leverages python 3.7 with the following packages:

  • os - Library for using operating system dependent functionality. This library is built in - no need to install it.

  • requests - Library for sending HTTP requests easily.

  • json - Library for parsing JSON format. This library is built in - no need to install it.

  • pandas - Library for fast manipulation with DataFrames, reading and writing csv files.

  • dotenv - Sets key-value pairs as environment variables.

  • alpaca_trade_api - Library for Alpaca Commission Free Trading API.

  • matplotlib - Library for visualizations in Python.

  • numpy - Library for working with arrays.

  • datetime - Library for manipulating dates and times.

  • pytz - Library for timezone calculations.

  • warnings - Library for manipulating warning messages. This library is built in - no need to install it.


Installation Guide

Before running the application first install the following dependencies.

  pip install requests
  pip install pandas
  pip install python-dotenv
  pip install alpaca_trade_api
  pip install matplotlib
  pip install numpy
  pip install datetime
  pip install pytz

Usage

To use this project simply clone the repository and run the code financial_planning_tools.ipynb in JupyterLab or in VS Code.


Graphs

First, we evaluate the crypto-currency wallet and stock, and bond holdings. The portfolio valuation helps us decide if we have enough savings to build an emergency fund. Data are collected by scraping Free Crypto API and using Alpaca SDK.

snippet of our code

The pie chart displays total value of the portfolio.

snippet of our code

Second, we forecast future appreciation of the portfolio with Monte Carlo simulations.

snippet of our code snippet of our code

Finally, we plot the cumulative returns across all the simulations and evaluate an option for early retirement.

snippet of our code


Contributors

Brought to you by Katerina Gawthorpe.


License

MIT

financial_planning's People

Contributors

katgaw avatar

Watchers

 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.