If history is any indicator of the future, the first two weeks of July could bring relief to investors after a bruising first half of the year. World stocks have shed more than $20 trillion in value since hitting record highs in January.