Stock market optimism 'grew in first half of 2015'