The Social dynamics of financial markets