2024 was a banner year for equities, with a run-up in US tech stocks broadening into a global market rally, and the big question now is whether the good times can continue? History suggests optimism is warranted.