Financing these deficits required the country to borrow large sums from abroad, much of it from countries running trade surpluses