We investigate the role of global factors in driving cross-border capital flows. We formulate a model of gross capital flows through the banking sector and derive a closed form solution that highlights the leverage cycle of global banks and its interaction with recipient country characteristics....