Traders' networks of interactions and structural properties of financial markets: An agent-based approach