Social Network Dynamics and Impact on Financial Markets