Investigating the role of social behavior in financial markets through agent-based simulation