free market maximizes the gains from trade, we mean three closely related things:
1.The supply of goods is bought by the buyers with the highest willingness to pay.
2.The supply of goods is sold by the sellers with the lowest costs.
3.Between buyers and sellers there are no unexploited gains from trade nor any wasteful trades.
Together these three conditions imply that the gains from trade are maximized.