Stock markets play a vital economic role, helping large companies raise finance and giving access to an alternative stream of capital alongside loan finance and company revenue.