Goal-Based Investing
This chapter begins our journey toward building a Robo-advisor hands-on. We will begin by creating some basic objects that we will need along the way, and exploring some useful Python methods that will make our life easier as we build up our capabilities. Throughout the book, our framework for investing will be Goal-based investing, so this chapter will form the basis of many other features that use the concept of Goals in different ways.
Before we jump into some code, let’s briefly talk about why Goals are important. You might be tempted to skip past Goals altogether and just build a portfolio of Exchange-Traded Funds (ETFs). Let me try and convince you otherwise. One of the core challenges of investing, in general, is psychology. In one sense, the idea is simple. Invest as much as you can, and buy and hold like Warren Buffet. In reality, life and investing are much more complicated. The simplicity of a single portfolio and a single risk profile simply...