Coder Social home page Coder Social logo

koenraijer / reasset Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 710 KB

ReAsset is finally a proper rebalancing calculator for people who need to rebalance their portfolio's to ensure proper diversification of one's assets.

Home Page: https://reasset.koenraijer.io

JavaScript 17.25% HTML 0.85% CSS 5.66% Svelte 76.24%

reasset's Introduction

ReAsset

This is a web application built with SvelteKit for the purpose of multiasset rebalancing. It allows users to rebalance assets to their target allocations in a way that minimises the number of transactions.

Features

  • Presets for common combinations of index funds

Algorithm

The algorithm adjusts asset values by performing the following steps:

  1. It finds the difference between the desired and actual values of each asset. This helps identify which assets are over or under their target values.

  2. It splits assets into two groups: those needing more funds (underweighted) and those with too much (overweighted). This categorization aids in determining where adjustments are needed.

  3. It orders each group by how far they are from their target, from most to least. This prioritization ensures that the assets furthest from their target are addressed first.

  4. It goes through these sorted groups to either add funds to the underweighted or remove from the overweighted, using available cash. This step adjusts the asset values closer to their targets.

  5. It transfers funds directly between assets if one needs money and another has excess. This efficient transfer of funds can help speed up the rebalancing process.

  6. The process is repeated until all assets are very close to their target. This iterative approach ensures that all assets are balanced according to their target values.

Usage

Provide instructions on how to use the application.

Contributing

Provide instructions on how contributors can help improve your project.

License

Include information about the license.

reasset's People

Contributors

koenraijer 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.