International trade and capital flows - Country risk sovereign debt and external imbalances