Strengthening capital markets will improve resilience to shocks