These firms trade from both sides i.e. they place orders to buy as well as sell using limit orders that are above the current market place (in the case of selling) and slightly below the current market price (in the case of buying). The difference between the two is the profit they pocket. Thus these firms indulge in “market making” only to make profits from the difference between the bid-ask spread. These transactions are carried out by high speed computers using algorithms.