Economics of financial markets