The price of energy tends to be higher during periods of economic growth. In a general sense this means the value of the solar system is higher when the stock markets are doing well because it is offsetting more expense per unit of energy produced (a higher cost per kWh). So when stock investments are doing well so is the solar investment, generally speaking. Solar is a valuable asset when the markets are booming.