Realized correlation analysis of contagion