#portfolio #investment #stock

bin+lib rebalance

Portfolio (re-)balancing and simulation

4 releases

0.1.3 Dec 24, 2024
0.1.2 Jun 9, 2024
0.1.1 Oct 1, 2023
0.1.0 Oct 1, 2023

#46 in Simulation

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 Rust 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

~21–41MB
~681K SLoC