Change the parameters of function compute_least_price_to_sell()
and run
python3 roi_buy_vs_rent_home.py
- Inflation grows in a constant rate
- Rent grows in a constant rate
- HOA grows in a constant rate
- Home insurance grows in a constant rate
- Down payment opportunity cost is considered as to invest the down payment to SP500, with a constant given annual rate of return
- Monthly mortgage payment
- Buy house gross pay in n years holding
- Rent house gross pay in n years
- Remaining principal on mortgage
- Minimum price to sell after holding n years for breaking even