This article was originally posted in ZippyBrain.com on July 29th, 2015. Link
As promised in Update 2, this post will explain the system we’ve developed to simulate different economic environments, including the markets for stocks, bonds, and gold. We’ve developed a system that simulates the market within a set of parameters. Every game will have different results, since many aspects of the simulation are based on randomness. This is both realistic and will make WealthSim much more replayable.
In the game, there are five different possible economic environments that do a reasonably good job of replicating full stock market cycles. The current economic situation in the game affects stock returns, gold prices, bond interest rates, loan rates, money market rates, and inflation. They are as follows:
The first 4 environments replicate a full stock market cycle. We included stagflation as a way to include a unique economic situation that can force players to significantly reconsider their strategies. We’ve built our system to be flexible, so we will be able to add or remove other types of economic environments as needed based on feedback.
The game uses the following table to pick which economic environment will occur next based on the “Percent Time” column. I will never pick the same one twice in a row. The number of turns each environment lasts is randomly picked from between that environment’s minimum and maximum length (each turn equals one month).
|Cycle No||Min Turns||Max Turns||Percent Time|
Each economic environment has it’s own table of possible values for stock returns, interest rates, etc, that I randomly generated within realistic parameters. I’m not going to show those here, since they are pretty big. The game will randomly pick values from the current environment’s table each turn.
The simulation system we designed will produce realistic, but wildly different results for each game. Over the long term (so hundreds or thousands of turns), the investment returns of different asset classes are in line with their real-life counterparts. In the short term though, lots of interesting things can happen (just like real life).
I’ve run 20 years (240 turns) of the simulation five different times to demonstrate how it works. In the game, we have four asset classes: Stocks, Bonds, Gold, and Cash (Money Market). Each one behaves like a total market index fund, and all dividends and interest payments are automatically reinvested. We’ve chosen to simplify the market simulation in this way to make the game more accessible and reduce development time. Investors should be investing in index funds instead of individual stocks anyways.
In each simulation, I’ve started the game with $10,000 invested in each asset type. Over the simulations, the geometric average returns of our core asset classes come out like this (all in APR, with simulated inflation included for reference):
||Avg. Stock Return
||Avg. Bond Return
||Avg. Gold Return
||Avg. Money Mkt. Return
Back to WorkThanks for checking out this update. WealthSim still needs some work before we are ready for user testing, but we're making very satisfying progress. Stay on the lookout for some more in-depth information about our simulation techniques. Please feel free to reach out with with any questions or comments to @ZippyBrain.