Git Product home page Git Product logo

leonbeckert / cash-flow-rebalancing-calculator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 598 KB

The Cash Flow Rebalancing Calculator promises the advantages (additional returns) of regular portfolio rebalancing without its disadvantages (taxes, transaction costs).

License: GNU Affero General Public License v3.0

Python 100.00%
etf etf-investments etfs funds investing portfolio portfolio-management rebalancing

cash-flow-rebalancing-calculator's Introduction

Contributors Forks Stargazers Issues


Cash Flow Rebalancing Calculator

by Leon Beckert

Launch Demo · Report Bug · Request Feature

Table of Contents

About The Project

"Cash Flow Rebalancing" promises the advantages (additional returns) of regular portfolio rebalancing without its disadvantages (taxes, transaction costs).

In classic portfolio rebalancing, a rebalancing adjustment occurs once every quarter, semester or yearly. Assets that have performed better and are now overweight get sold off and the resulting cash inflow gets invested in the underperformers. The result is a completely rebalanced portfolio.

The disadvantages of this approach are clear: Gains have to be realized, taxes have to be paid and transaction costs occur for every asset.

"Cash Flow Rebalancing" helps us defer taxation and reduce transaction cost.

By only investing in the assets that negatively deviate the most from our target distribution we do not need to sell any assets. This can be done on a monthly basis in our savings phase and reversely (selling the overweight assets) in the consumption phase.

In the savings phase we are deffering taxation indefinitely in a buy-and-hold strategy because we do not realize any gains. At the time of writing (2023), monthly savings plans on ETFs are widely available and mostly free in the western world. Using this strategy, we can expect 0.1% to 0.4% additional yearly returns when rebalancing the same asset class: globally diversified stock ETFs (Gerd Kommer 2018).

This cash flow rebalancing calculator offers users the ability to set up their portfolio structure initially within the python executable only returning monthly (or yearly) to calculate their cash flow rebalancing amounts.

Cash Flow Rebalancing Calculator Screen Shot 1

Rebalancing fully with an amount that is larger than the necessary rebalancing amount



Cash Flow Rebalancing Calculator Screen Shot 2

Rebalancing fully in detail with the exact amount needed



Cash Flow Rebalancing Calculator Screen Shot 3

Approximating our target distributions with less cash flow


### Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is a list of things you need to use the software and how to install them.

Installation

  1. Clone the repo
git clone https://github.com/leonbeckert/cash-flow-rebalancing-calculator.git
  1. Install NumPy and prettytable
pip install numpy
pip install prettytable
  1. Run python script
python cash_flow_rebalancing_calculator.py

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

Before contributing please read our Code Of Conduct.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See LICENSE for more information.

Contact

email: [email protected]

Project Link: https://github.com/leonbeckert/cash-flow-rebalancing-calculator

Acknowledgements

Creator:

cash-flow-rebalancing-calculator's People

Contributors

leonbeckert avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

amdens

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.