Last active
September 3, 2024 11:02
-
-
Save marcosfelt/a8fc0c3ee2fa431d7e1847a9ca41808a to your computer and use it in GitHub Desktop.
Financial planning simulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wedding = Expense( | |
| "Wedding", Uniform(Jan/1/2026, Oct/1/2026), Normal(3.3e4, 2e3) | |
| ) | |
| house_dp = Expense( | |
| "House downpayment", Uniform(Jan/1/2027, Jan/1/2028), Uniform(8e4, 1.2e5) | |
| ) | |
| sim = Simulation([house_dp, wedding], start=Oct/1/2024, end=Nov/1/2094, samples=10000) | |
| sim.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment