Having both long-term and short-term investments is recommended when building your portfolio. Here are a few reasons why.