How to invest if you want to buy a house in 10 years or less

Whether investing is right for you depends on how soon you're looking to buy. If you need that money in two years or less, keep it out of the market.