Ejemplares similares: Contagion and volatility with imperfect credit markets