Through acquisitions and hiring. trading firms are going against the market tide with new services based on machine learning.