We construct a small-open-economy, New Keynesian dynamic stochastic general-equilibrium model with real-financial linkages to analyze the effects of financial shocks and macroprudential policies on the Canadian economy. Our model has four key features.