Based on Monte Carlo simulation demo created by Kirk Haslbeck. Demonstration of how Spark can be used to create a Digital Financial Advisor that allocates a portfolio of investments based on inputs like risk tolerance, investment horizon, and initial investment. The allocation is simplified but adheres to principles of diversification. Once the portfolio is allocated, the Digital Advisor uses Monte Carlo simulation methodology to project the possible portfolio trajectory based on historical market and price data.