Skip to content

jesseshieh/burn_plan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burn Plan (Financial Simulator)

Simulates your personal financial portfolio

Simulates your financial portfolio thousands of times across decades to determine your likelihood of running out of money before you die.

  1. Set your inflation mean and stddev
  2. Define your various asset classes and their means and stddevs
  3. Create your portfolio of assets
  4. Enter your tax rates
  5. Decide how much you need to distribute each year to live on
  6. Decide if you will rebalance each year
  7. Enter how long you expect to live
  8. Enter the number of simulations you want to run
  9. View your results

Results tell you

  1. Your average ending portfolio value when you died
  2. The number of simulations where you ran out of money before you died
  3. The percentage likelihood that you will run out of money before you die
  4. The average distribution you took out your portfolio each year

Usage

cd burn_plan
bundle
vi bin/burnit.rb # edit with your own facts and assumptions 
ruby -Ilib bin/burnit.rb

About

Simulation and analysis of a personal financial portfolio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages