Dynamic patterns analysis meets Social Network Analysis in the modeling of financial market behavior