#portfolio #investment #stock

bin+lib rebalance

Portfolio (re-)balancing and simulation

3 releases

0.1.2 Jun 9, 2024
0.1.1 Oct 1, 2023
0.1.0 Oct 1, 2023

#114 in Simulation

Download history 3/week @ 2024-07-22 16/week @ 2024-09-23 6/week @ 2024-09-30

136 downloads per month

MIT/Apache

130KB
3.5K SLoC

Balance

CI dependency status

Simulate portfolio balance or backtest with or without rebalancing under https://www.bertiqwerty.com/balance/. Alternatively, you can run Balance as a desktop app if you have the Rust and Cargo installed via

cargo install rebalance
rebalance

Created with eframe, a framework for writing apps using egui.

Development

Build WASM

See https://github.com/emilk/eframe_template.

Run locally

Native

cargo run --release

WASM

trunk serve --public-url /

Dependencies

~20–41MB
~685K SLoC