Essays in financial regulation and macro-finance