Online trading platforms such as CMC Markets and IG Group were hit by speculation over what might happen to capital gains tax.