The Role of Stock-Flow Adjustment during the Global Financial Crisis

While the recent contraction of current account imbalances that followed the Global Financial Crisis is well documented, we analyse the increasing divergence of the net international investment position in the post-crisis period. Decomposing the change in the international net investment position into capital flows and valuation effects we find that the increasing stock imbalances are driven by the former. However, valuation changes show a stabilizing pattern. Countries with the largest net foreign liabilities experienced the greatest valuation gains. Analysing this effect by different asset classes shows that this stabilising pattern was mainly driven by debt write-offs and a change in the value of portfolio equity. For the latter, the pro-cyclical movement of the domestic stock markets during the post-crisis period improved international risk sharing through foreign portfolio equity liabilities. JEL Classification Numbers: F32, F36, G15


Introduction
In the last two decades, increasing financial integration has been of great importance in international macroeconomics. Before the crisis, rapidly increasing cross-border financial flows led to easier external financial conditions and credit booms which were accompanied by rising oil prices and asset price bubbles. While volatility as well as risk aversion was low, implications of those developments were hard to assess. In the absence of strong policy responses to these changes, foreign investment positions could grow inexorably (Lane, 2013). Consequently, the beginning of the global crisis was characterized by a reversal of financial conditions and limited external finance. Flow imbalances contracted and the crisis worked as a correction of excessive pre-crisis imbalances (Lane andMilesi-Ferretti, 2012, 2014).
However, while flow imbalances decreased sharply in the post-crisis period, stock imbalances are still increasing (Figure 1, 2). This is seen as possible systemic risk, making large debtors vulnerable to changes in the market (International Monetary Fund, 2014b). Therefore, we argue that is it necessary to shed more light on the dynamics of the increasing divergence of stock positions in the post-crisis period, i.e. accompanying the sharp flow contractions. Absent large valuation effects, for stock imbalances to reduce, a reversal and not just a contraction of flow imbalances would be required. Thus, remaining flow imbalances have contributed significantly to growing stock imbalances.
In this paper, we want to focus on the role of valuation effects of the net international investment position in the post-crisis period. Thereby, the crucial issue is whether those valuation changes were able to stabilise the net international investment position. While ignored in much of the earlier literature, Balli et al. (2011), Lane and Milesi-Ferretti (2001, 2007 show that the importance of stock-flow adjustment has grown tremendously in importance since 1980. In some cases, valuation changes dominated capital flows easily.
We find that the stock-flow adjustment moved in a stabilising direction in the post-crisis period. Countries with the lowest net international investment position experienced the most positive changes in valuation. In terms of magnitude, countries with a 1 percent of GDP lower net international investment position in 2007 experi-enced higher capital gains in the size of 0.23 percent of GDP on average. Therefore, the accumulation of foreign stock imbalances was significantly decelerated by the stabilising effect of changes in valuation. Analysing these effects by each asset class separately, we find that this pattern was mainly driven by stabilising changes in the valuation of loans and portfolio equity liabilities. While the first effect is driven by write-offs of loans within Europe, the latter emphasizes the role of the domestic stock market for international risk sharing. We show that because stock markets moved in a pro-cyclical direction in the post-crisis period, countries with a lower output were able to generate relatively more valuation gains through their portfolio equity liabilities.
The risk of financial distress due to large net external positions is documented in the literature (see, for example, Obstfeld, 2012aObstfeld, , 2012b. More specifically, Catão and Milesi-Ferretti (2013) Milesi-Ferretti and Razin (2000) present evidence that countries with low reserves and long persistent deficits in the past are more likely to experience a sharp reduction in their current account. Calvo et al. (2004) find that the intensity and the duration of financial turmoils once a sudden stop has occurred positively depend on total debt, especially when combined with a high domestic liability dollarisation. Summing up, several surveys like the World Economic Outlook (International Monetary Fund, 2014b) and External Sector Report (International Monetary Fund, 2014a) warn that the development regarding growing stock imbalances is unlikely to reverse during the rest of this decade which imposes systemic risk to the international financial system. Accordingly, the goal of this paper is to shed light on the dynamics behind the increasing imbalances of net international investment positions with a focus on the driving factors of the stabilising stock-flow adjustment. In Section 2, we explain the conceptual framework whereas in Section 3 we present some stylized facts. Section 4 shows an empirical analysis and Section 5 concludes.

Conceptual Framework
The relationship between the flow and the stock position is usually studied in the following form: 1 where N IIP refers to a country's net international investment position and SF A is the stock-flow adjustment. We measure the N ET F LOW with CA as the current account, F A as the financial account, and EO including errors and omissions in order to equal out these measures. Therefore, the increase in imbalances we observed can be due to flow imbalances (CA + EO or F A) or the stock-flow adjustment (SF A). In more detail, the financial account can be divided by asset classes: where F DI N t is foreign direct investment, P EQ N t and P D N t correspond to portfolio equity and portfolio debt respectively, OI N t is other investment, DERIV N t measures foreign derivatives, and RES At corresponds to holdings of foreign reserves on the asset side. Except for the latter, all values are net terms.
On the other hand, the stock-flow adjustment can be expressed as where V AL t measures changes in the valuation of the net international investment position due to changes in market prices or the exchange rate. The "residual" is captured in OT H t which contains e.g. new measurement techniques, data revisions, or reclassifications.
In this section, we want to outline the rationale for dissecting the evolution of the net international investment position, especially in the post-crisis period.
1 For simplicity, we ignore the capital account due to its small magnitude.

The Flow Dimension
What is casually known as Financial Globalisation was the sharp increase in crossborder financial flows that allowed exorbitant debt levels between countries accompanied by a substantial widening of global current account imbalances in the years before the crisis. This seems surprising considering that risks attached to international financial integration are widely discussed in the literature (e.g. Edwards (2004) ; Obstfeld (2012a); Freund and Warnock (2007)). Using the case of the United States, Obstfeld andRogoff (2005, 2007) argue that the adjustment process of an excessive deficit country's current account itself would bear considerable risks to general economic stability and financial markets, especially if the adjustment is stemming from a loss of confidence by foreign investors in the U.S. economy.
Not just excessive deficit levels, but also persistent surplus balances can be signs of macroeconomic distortions such as unfair competition advantages, failures in financial regulation, or the global demand in case of a liquidity trap. In addition, exceptionally low investment can be due to an inefficiency of markets such as a lack of competition. Therefore, the literature agrees that persistent excessive imbalances, regardless of the sign, should be reduced Blanchard, 2010, 2011).
It was therefore crucial to observe the unravellings of flow imbalances following the recent global financial crisis. Although they were most likely not the trigger for the crisis, in 2007/2008, a sudden stop in capital flows caused a contraction of flow imbalances. With the exception of a "relapse" in 2010, current account imbalances decreased ever since the crisis started in 2008. Figure 1 shows that not just total dispersion but also configuration of flow imbalances have changed markedly. China and Japan reduced their surplus through expansionary fiscal policy, lower demand for the countries' exports and a higher demand for imports. On the other side, European deficit countries adjusted quickly, turning the euro area into a surplus area as a whole. Most importantly, the United States deficit shrank by almost two-thirds as a percentage of world GDP which represents the largest adjustment of all countries (around 400 billion USD). Consequently, the concentration of deficits also decreased dramatically.
Lane and Milesi-Ferretti (2012, 2014 show that this contraction in current account imbalances from 2008-2012 is significantly correlated to imbalances that emerged in the pre-crisis period. Extending this analysis, we find that the peak of current account adjustment in the post-crisis period was reached in 2013 where 90 percent of the deviation from fundamental values of the current account was reversed. 2 Regarding the macroeconomic developments during the adjustments, countries with the greatest negative pre-crisis current account gap experienced slower growth of real output, a greater decline of inflation, and a stronger improvement of the structural fiscal balance. According to forecasts (International Monetary Fund, 2015), the adjustment process will slow down but resulting in levels far below pre-crisis current account imbalances. This is in line with recent literature which suggests that the current adjustment process is mostly permanent rather than solely due to cyclical factors like the exchange rates or changes in output growth (Cerra and Saxena, 2008, Cheung et al., 2013, Eichengreen, 2014.

The Stock Dimension
In the absence of dominating stabilising valuation effects, large flow imbalances before the crisis have added up to more divergence in the overall net international investment position. In theory, the key economic significance of a country's foreign stock position is that at any point in time, it represents the limit of the present value of its future net export deficits (excluding international investment income). This national constraint describes a country's feasible transactions with foreigners and can be viewed as a combination of three more basic relationships: the households's budget constraint, the government's budget constraint, and the present value of future profits generated by domestic capital (Obstfeld, 2012a). 3 The empirical literature, however, calls for models with fully fledged optimizing behavior compatible with the data. The most evident question thereby is as to why the rest of the world would finance a persistent current account deficit country such as the United States (Gourinchas and Rey, 2007). In general, the empirical work has focused on countries with high deficits. The idea behind this is that excessive debtor countries face the risk of abrupt reversal of capital flows in contrast to creditor countries. The crucial issue thereby is whether and how good a net international investment position can predict any kind of crisis. Most recently, Catão and Milesi-Ferretti (2013) show that their model with net foreign liabilities as their main explanatory variable would have forecasted most of the 2008-2011 crisis.
Regarding asset classes, the authors identify debt liabilities as the driving force for this effect.
If we bear in mind those risks of excessive stock imbalances, the increasing divergence of stock positions ever since the late 1990s should be alarming. With the literature mostly focusing on the contraction of flow imbalances and the accompanying macroeconomic adjustment, International Monetary Fund (2014b) warns of ignoring the growing imbalances of net international investment positions. With excessive flow imbalances in the pre-crisis period, net foreign stock imbalances almost doubled since then (see Figure 2). Among very few countries, European periphery countries did reverse their flow balances to surpluses which is theoretically necessary in order to reduce external debt. However, this is an exception. Most of the rest of the world reduced but did not reverse flow imbalances which -absent large changes in valuation -accumulates to a larger imbalance of a country's net international investment position (Fidora et al., 2017).

Stock-Flow Adjustment
However, not only flows determine the evolution of the stock position as shown in equation (3). The difference between the change in the net international investment position and the capital flows is recognized as the so-called stock-flow adjustment.
While ignored in earlier literature, this effect has recently gained considerable attention (Balli et al., 2011, Lane and Milesi-Ferretti, 2001, 2007. In some cases, stock-flow adjustment dominated capital flows easily. The effect as a whole consists of the change in the valuation of foreign assets and liabilities and an other category (OT H) which absorbs remaining possible changes, e.g. data revisions or reclassification of assets. As there is no existing evidence that the latter might drive an overall effect of stock-flow adjustment through a specific pattern, the natural interpretation of the total effect can be a change in valuation. 4 This change, in turn, can be due to changes in the price of an asset or a change in the exchange rate.
Theoretically, the exchange rate channel could cushion the size of the exchange rate correction that would typically come with an adjustment of external imbalances. In the case for the United States, a dollar depreciation could generate valuation gains by boosting the dollar value of much of its foreign-currency-denominated assets (Cavallo and Tille, 2006). However, Bénétrix et al. (2015) show that there is limited evidence that the exchange rate channel by itself can contribute significantly to financial stabilization. This is in line with the large literature on the disconnection between macro fundamentals and the exchange rate (Obstfeld and Rogoff (2000), Lane andMilesi-Ferretti (2012, 2014)). Therefore, it is clearly an interaction of the exchange rate and the price channel that creates wealth effects through the stock-flow adjustments.
In addition, the composition of the net international investment position in terms of asset classes seems to have very different implications for a country (see e.g. Catão and Milesi-Ferretti (2013), Gourinchas and Rey (2007)). Therefore, not only the amount of net foreign liabilities but also its (gross) composition plays a significant role (Bénétrix, 2009). This has been much discussed for the case of the United States and its asymmetric balance sheet. After a period of deregulation of cross border flows at the end of the last century, the country has increased its net foreign debt up to 42 percent of GDP in 2014. However, up to the crisis, the United States have traditionally been able to gain excess returns of gross assets over gross liabilities having to pay foreigners less than what the country was able to gain on its foreign assets. Gourinchas and Rey (2005) show that this results from a "composition effect" created by the short borrowing and the long lending position, thereby supplying liquidity to foreign asset holders and loans to foreign enterprises. For the United States, not just asset classes but also the analysis of the currency composition of gross positions shows that the "exorbitant privilege" of the United States results from the ability to run large direct investment surpluses which were financed by the issuance of the own currency by foreign central banks. A country naturally benefits from a depreciation of its currency if it is a net creditor in assets denominated in foreign currency. In that context, Tille (2008) emphasized the important stabilising effects of a dollar depreciation for the United States where almost all debt is issued in dollars while most of the assets are denominated in foreign currency.
Overall, we want to look at the stock-flow adjustment as a device for international risk sharing. According to standard models, increasing financial integration can lead to perfect consumption risk sharing, whereby fluctuations in consumption are disconnected from idiosyncratic fluctuations in output (Obstfeld and Rogoff, 1996).
However, the literature shows that this does not hold in the data (Backus et al., 1993, Lewis, 1996. More recent work has confirmed that the degree of risk sharing remains imperfect, but has increased over time. While international risk sharing was traditionally achieved through savings and factor income from international financial flows, capital gains have become increasingly and significantly important. For that matter, Balli et al. (2011) show that changes in the valuation of foreign assets have outperformed gains from factor income flows for European Union countries and OECD since 1999. Overall, empirical work has been scarce and/or focused on the United States due to data availability. However, the more general question is if the change in valuation moved in a stabilising direction across countries, especially during stark current account contractions which we experienced in the post-crisis period. If this is the case, stock-flow adjustment has the potential to achieve risk sharing when countries need it the most. 5

Stylised Facts
For completeness, we start by shortly summarising several important characteristics of increasing financial integration in the last 25 years in Figure 3. Regarding the overall evolution of gross international investment position, we can see that for industrial as well as emerging/developing countries, the main increase happened in the decade preceding the crisis. Industrial countries subsequently experienced two sharp drops in 2008 and 2011. In addition, the graphs show differences in the 5 We derive this potential mechanism in Appendix B. So far, we have analyzed the evolution of the value of (gross) stock position. These developments are influenced by capital flows but also by the change in the valuation of foreign assets and liabilities. As the latter is difficult to grasp directly, it is usually derived from the difference of flows and the change in the stock position. From equation (3) we can derive: In Figure  Therefore, without looking at the actual values of foreign liabilities or holdings, the easiest fact to observe is the valuation of equity which is listed on the stock market.
Given that a country sells its portfolio equity to foreign investors, the domestic stock market index can reflect changes in a country's liabilities towards these investors. If those changes in valuation were stabilising in the post-crisis period, a country that accumulated more net foreign liabilities during the crisis would experience a relative bigger decrease in their stock market, thus reducing liabilities to foreign investors and improving the overall net international investment position. This is what we can observe in Figure 5: surplus countries such as Germany, Japan, or Switzerland experienced an overall gain in their stock market in the post-crisis period. Thus, the value of their liabilities rose which represents a valuation loss. The contrary happened in countries with high net foreign liabilities such as Iceland and Greece where the stock market dropped relatively more in the years over the crisis.
At this point, the relative share of portfolio equity is also worth mentioning. Table   1 shows that the importance of this asset class measured as a percentage of total assets and total liabilities grew significantly. This is especially the case for emerging and developing countries where the share of portfolio equity liabilities increased by around 600% to almost a quarter of total liabilities in the 20 years proceeding the crisis. Based on findings by Catão and Milesi-Ferretti (2013) and Calvo et al. (2004) who find only foreign debt instruments to be a significant predictor for crises, we argue that this shift to equity funding put emerging and developing countries in a relatively better position when the crisis hit in 2007.

Empirical Analysis
In this section, we want to analyse the behavior of capital flows and stock-flow adjustment in the post-crisis period and how they contributed to the increasing divergence of the net international investment position.

Data and Sample
For this analysis, we use estimates of foreign assets and liabilities and their asset could generate amplification effects, this is not likely to be the case for poorly connected investors. Finally, a well known problem is "round tripping" where flows from one country to another may just be part of a chain of transactions. Investors might want to channel his investment abroad through a third country or even make a domestic investment involving cross-border intermediaries (Zucman, 2013). If a transaction is only recorded by one side, this might increase the errors and omissions of the BOP.
For this analysis, we use a sample of 60 advanced and developing countries (see Appendix A). Oil exporters are excluded due to the strong dependence of their trade balance on oil. Also, very small countries are excluded as their current accounts are strongly influenced by transfer payments, debt forgiveness, and other irregularities.
We exclude Iceland due to its extreme stock-flow adjustment. While the mean stock-flow adjustment of the sample is around 3 % of 2013 GDP, Iceland experienced valuation losses of over 240% of 2013 GDP in the post-crisis period. 9 As a final step, we exclude Hong Kong and Singapore as major financial centers with outlier values for their net international investment positions. In addition, Lane and Milesi-Ferretti (2014) argue that the measurement error is more likely to be a significant contributor to the stock-flow adjustment term for international financial centers considering the high ratios of gross foreign assets and liabilities to GDP.

The Driving Forces of the Divergence of the Stock Positions
While the recent contraction of flow imbalances is well documented (WEO, October 2014), we want to analyse the increasing divergence of the net international investment position (see Figure 2). The first question is the break down in equation where CumF lows 0813 is the cumulated capital flows in the years 2008-2013 divided by nominal GDP in 2013 and N IIP 07 is the pre-crisis net international investment position in percent of GDP. 10 A β F l > 0 would mean that flows are causing further divergence in stock positions. This might be due to the fact that flow imbalances 9 Due to this very extreme value, regression results are not robust to the exclusion of Iceland. 10 As mentioned before, we use the years 2008-2013 as we find the current account adjustment in the post-crisis to peak in 2013. Results of this extension of work by Lane and Milesi-Ferretti (2012, 2014 are available upon request contracted but in the absence of significant stock-flow adjustment a reversal would be needed for imbalances to decrease. On the other hand, β F l < 0 would mean that capital flows reversed across countries, thereby stabilising the net international investment position.
To look at the stock-flow adjustment, we estimate where SF A 0813 are cumulated stock-flow adjustments from 2008 -2013 divided by nominal GDP in 2013. While capital flows are recorded directly by the Balance of Payments Statistics, we can derive the stock-flow adjustment from equation (3): Again, we want to point out that SF A hereby also captures the "residual" (see Regarding the regression in equation (9), we can find international risk sharing through the net international investment position if β SF A < 0 so that the countries with the largest net foreign liabilities experienced the largest positive stock-flow adjustment. At this point, we want to point out that this is a descriptive analysis of correlations. The risk sharing obtained through the stock-flow adjustment is consistent with some international risk sharing from endogenous prices so we stop well short of doing any analysis of causality.
We can find the results in Table 2. Column (1)  The differences using the financial or the current account might let us derive a pattern for the term "errors and omissions". The effect of stock-flow adjustment is greater and more significant if we use the current account instead of the financial account. This means that "errors and omissions" might be -on average -negative for surplus countries and positive for deficit countries. Figure 6 shows that this is the case for our sample where we split surplus and deficit countries. This is in line with findings by Lane and Milesi-Ferretti (2007) and Zucman (2013) and might reflect unrecorded capital flows.
In Table 3 we want to make sure our results are not driven by specific country groups or might even be contrary for subsamples. We split into countries with floating and pegged exchange rate regimes (column 2 and 3) as the latter group is restricted in individual monetary policy on country level which could contribute to capital gains through the exchange rate channel. In addition, we have pointed out that the composition of the net international investment position of advanced and emerging countries is considerably different which is why we split the group accordingly in column (4) and (5). However, the coefficient has the expected sign for all subsamples and the effect turns out to be most significant for the entire sample (column 1).

Robustness
We purposely used this univariate regression as it is not the purpose of this paper to describe everything that influenced flows and stock-flow adjustment. More so, we want to establish patterns of correlations for the post-crisis period which we consider important for macroeconomic stability. However, to make sure those correlations are not purely driven by other factors, we include the real GDP growth, the change in the stock market, and the change in the central bank policy rate in our regressions as a robustness test (see Appendix A, Tab 1). However, with those controls, the significance of our coefficients remains at almost identical levels which is reassuring regarding the robustness of our correlations.
In addition, we wanted check if the composition of a country's portfolio might drive the overall valuation effect. Therefore, we look at correlations of each asset class as a ratio of the gross position. However, we can show that none of the relative shares of each asset class in 2007 are significantly related with the subsequent stock-flow adjustment.

Analysis of Individual Asset Classes
In this section, we want to see which types of assets drive the stabilising effect of the stock-flow adjustment. Again, we measure this by subtracting the flow from the change in the stock position of each asset class. This is especially important since the literature has pointed out significant differences between asset classes and implications of their imbalances (e.g. Rogoff, 1999 andLane andMilesi-Ferretti, 2001b). At a first glance, in Table 4, we can see that all asset classes have the expected sign except for reserves. Countries with the highest net international investment position also experienced the highest capital gains from reserve assets. This is driven by European surplus countries: above all, Switzerland, followed by Scandinavian countries and Germany. Also China, as a main creditor, has received capital gains from reserves. This effect is most likely due to the appreciation of the USD, especially in the first two years after the crisis. However, reserves show the smallest coefficient among the significant classes and the effect is outweighed by the stabilising effect of other investment, foreign direct investment and portfolio equity. In the following we want to describe the mechanism behind the effect of these significant asset classes.

Other Investment
The most stabilising asset class is other investment. In Figure 7 we see the composition of this asset class when the crisis hit in 2008. 14 We can see that the biggest part of this asset class are loans in the form of traditional loans (including IMF credit) and currency and deposits. Together with other accounts payable/receivable, those belong to the group of nonnegotiable instruments.
This means that the registered value is the nominal value of an asset, not adjusted for expected losses or for changes in interest rates. 15 Therefore, the nominal value we have can only be reduced by write-offs, restructuring, or debt forgiveness. Those changes are usually due to a (partial) insolvency or liquidation of the debtor. In this case, the creditor will experience a valuation loss while we will find a valuation gain for the debtor regarding the affected asset. From  Table 5 we find the opposite so that the effect was driven by countries with an exchange rate peg. This group mainly consists of European countries. 16 Figure 9 shows the strong negative relationship between the pre-crisis net international investment position and the subsequent stock-flow adjustment from Other investment for countries with a pegged exchange rate regime.
The relationship is especially strong for countries in the Euro Area where bank loans among each other are most likely to be issued in the same currency. Therefore, we suggest that the exchange rate did not drive this stabilizing pattern. 17 Therefore, we argue that this pattern is driven by the European sovereign debt crisis where European creditor countries such as Germany had to write off debt

Portfolio Equity
Portfolio equity includes cross-border equity securities other than foreign direct investment or reserves. In contrast to other investment, the valuation of those securities is at market and not at nominal value. This is straight forward for listed portfolio equity securities where market prices can be obtained from the stock market.
When the security is not listed, an estimation has to be made. This can be e.g.
the recent transaction price, a discount of future profits, or a derivation from the company's net asset value at market price. Intuitively, one can guess that changes in the valuation of securities can influence the value of stocks considerably. The crucial question therefore is whether these dynamics contribute to international risk sharing. The significant coefficient for portfolio equity in Table 4 shows that this is the case for the post-crisis period. Therefore, stock-flow adjustment moved in a stabilising direction: countries with the lowest net international investment position experienced the greatest valuation gains from portfolio equity.
Due to its potential for international risk sharing, we want to look at this pattern more closely. The first question is whether this effect comes from gross assets or gross liabilities. This is especially interesting in the case of portfolio equity as liabilities are issued on the domestic stock market while assets can be bought abroad.
Therefore, assets could contribute to the stabilising effect through the exchange rate mechanism. If the domestic currency depreciates in a crisis, assets denominated in foreign currency will appreciate relatively. On the other hand, if a crisis comes with a significant decrease in the stock market, the risk can be shared with foreign creditors through a decrease in the value of liabilities. Table 6 shows that the latter was the case in the recent crisis: liabilities significantly contributed to the stabilising stock-flow adjustment of portfolio equity overall, e.g. countries with the highest (lowest) net international investment position experienced the greatest valuation losses (gains) from portfolio equity liabilities.
However, this effect can come from two facts: (1) portfolio equity experienced a relatively homogeneous overall decrease in its value and countries with larger deficits simply issued relatively more liabilities or (2) countries with lower net international investment position experienced a greater decrease in their domestic stock market.
In Figure 10, we can see that the latter is the case. Surprisingly, the left graph shows that the absolute amount of portfolio equity liabilities (as a ratio of nominal GDP) seems to be unrelated to valuation gains in the post-crisis period. This indicates heterogeneous stock market movements during this period. The graph on the right confirms that the stabilising stock-flow adjustment from portfolio equity liabilities was driven by movements in prices of portfolio equity securities on the domestic stock market.
Summing up those findings, we show that the stabilising effect from stock-flow adjustment from portfolio equity overall came from a relatively greater decrease of the stock market in the post-crisis period in countries with bigger net foreign liabilities. This indicates that portfolio equities, especially liabilities, can contribute significantly to international risk sharing which is in line with findings by Schmitz where StockM arket i,0813 is the log change of the domestic stock market index and ∆realGDP i,0813 is the log change of the domestic real GDP, both over the period from 2008 to 2013. We can see in Table 7 that those variables are highly positively correlated, i.e. capital gains on the stock market are significantly pro-cyclical. In the first two columns, real GDP growth in USD is used while in column 3 and 4 we used the growth of real GDP in domestic currency to make sure the effect is not driven by the bilateral exchange rate with the USD. This is in line with the findings by Schmitz (2010) who tested this relation up to 2006. While it did not hold for the short-term (using yearly data), it was significant for the medium term. 19 As we find this pattern also for the post-crisis period 2008-2013, the necessary cyclical properties of the stock market are satisfied in order to generate economic or wealth stabilization through foreign positions as described above. 20 As a second step, we now want to test how much stock-flow adjustment from foreign portfolio equity contributed to international risk sharing within this pattern. In this case, stock-flow adjustment should be significantly negatively correlated with real GDP growth relative to the world average. Following Bracke and Schmitz (2011), we look at the following correlation 21 : where SF A P EQ i,0813 is the stock-flow adjustment of portfolio equity and ∆realGDP i,0813 is the log change of the domestic real GDP in USD. In Table 8, we can see that overall, stock-flow adjustment from foreign net portfolio equity holdings improved international risk sharing as countries with the relatively smallest real GDP growth 19 Cumulative 5-year rates of financial market capital gains and real GDP growth. 20 To make sure results are not driven by extreme values of real GDP growth, we exclude China from the regression but results remain unchanged. 21 Schmitz used annual real rate of capital gains on the respective domestic stock whereas we us the (log) change in the actual stock market index from International Financial Statistics (International Monetary Fund) experienced the greatest positive valuation gains. We can also see that this is driven by the portfolio liabilities ( i.e. the domestic stock market) rather than by assets which is in line with our findings above. 22 Running this regressions for specific country groups, we find that the risk sharing through foreign portfolio equity is not significant for emerging and developing countries. This is in line with Bracke and Schmitz (2011) and also with Kose et al.
(2007) who finds that emerging countries were completely shut out of the benefit of risk sharing through foreign positions up to the crisis. 23 Within this group, even countries that experienced large increases in international capital flows have been unable to enjoy the risk sharing benefits of financial globalisation. The authors suggest that this is due to the relatively stronger effect of portfolio debt for those countries which cannot be shown to be stabilising. On the other hand, risk sharing through the portfolio equity market in the euro area shows to be the strongest. We argue that international risk sharing is especially important for the functioning of the currency union because monetary policy is unable to address asymmetric shocks. 24

Foreign Direct Investment
This asset class is often analyzed in combination with portfolio equity securities as they together form the equity share in foreign assets. Equity investment is considered direct investment if ownership of 10 percent or more of the voting power in an enterprise is obtained by a foreign investor. From a macroeconomic point of view, it should therefore create more stable and long-lasting links between economies than portfolio equity. However, it is also the most problematic series from the point of view of measurement as some countries report it at book value while others report it at market value (International Monetary Fund, 2003). 25 As most 22 In 10 we can see that Switzerland and Finland are outliers in terms of stock-flow adjustment from portfolio equity. However, excluding those observations from the regressions above we obtain almost identical results in terms of size of the coefficient as well as level of significance.
23 They find a stabilising pattern for portfolio equity for 1970 -2005 but significantly weaker for emerging and developing countries. 24 These results are robust when we use the real GDP growth in national currency. 25 As for every category, we use data from the extended version of the External Wealth of Nations (Lane and Milesi-Ferretti, 2007) Thereby, existing stock estimates are complemented with cumulative flows, with valuation changes designed to capture shifts in relative prices across countries.
securities are not traded at the domestic stock market, the link of the valuation of foreign direct investment and the domestic stock market index is not as direct as for portfolio equity. 26 In addition, Blanchard and Acalin (2016) add concerns based on counterintuitive stylized facts looking at FDI data from the BOP. Most importantly, inflows and outflows are highly correlated, even at high frequencies. This raises the question why a domestic investors would want to invest more abroad while their own country is perceived as relatively more attractive by foreign investors. Combining this finding with data on existing tax treaties, the authors suggest that "measured" FDI flows may merely reflect flows through rather than to the country in some cases.
This has crucial implications for policy makers. In addition, it makes findings based on BOP measured FDI hard to interpret.
However, despite those caveats, we still believe that a substantial part of FDI is intended to serve as a final investment where decisions are based on economic long-run factors. When we split the net position in gross assets and liabilities, we can see that the stabilising effect is again driven by gross liabilities (see table 6).
However, the mechanisms behind the stock-flow adjustment from direct investment liabilities seem to be different from portfolio equity. Again, the effect can come from two factors: (1) direct investment experienced a relatively homogeneous overall decrease in its value and deficit countries issued relatively more liabilities or (2) the value of direct investment decreased relatively more in deficit countries. While the latter is the case for portfolio equity, the first seems to be the pattern for foreign direct investment. The mean as well as the median of stock-flow adjustment of liabilities is significantly negative which means that on average, the value of direct investment decreased across countries. This is stabilising for countries with larger liabilities which means that deficit countries can generate relatively more valuation gains simply by issuing relatively more direct investment equity. The left graph in Figure 11 shows that the the amount of stabilising stock-flow adjustment from foreign direct investment liabilities is significantly related to the amount of liabilities held in relation to GDP. Although this hints more to a "magnitude effect" more than a pro cyclical valuation effect from prices of foreign direct investment, it still contributes to consumption risk sharing (see right graph in Figure 11, regression output see Table 9).
Summing up our findings from the separate analyses of the different asset classes, we can say that the stabilising stock-flow adjustment in the post-crisis period was mainly driven by a change in the valuation of bank loans. As their values are non-negotiable, we suggest that this is due to write-offs and restructuring, especially during the European Sovereign Debt crisis. Thereby, core countries of the European Union as creditors forgave on or restructured bank debt towards periphery countries which hold negative net international investment positions. In the absence of a banking union and without independent monetary policy or a floating exchange rate, this mechanisms could represent an efficient way of risk sharing.
In line with past literature, we also find equity liabilities to have created stabilising valuation effects in the post-crisis period. A logical requirement for this mechanism is the pro-cyclical movement of the domestic stock market. Thereby, countries with lower growth in output experience a relatively greater devaluation of their debt towards foreign creditors. We find this to hold for the post-crisis period which emphasizes the potential of the domestic stock market to contribute to international risk sharing through foreign investors.

Magnitude of the Effect
As a last step of our empirical analysis, we want to show how big effects were for each individual country. We first calculate a "counterfactual" net international where 13 08 F lows i is the sum of the current accounts of the years 2008-2013. 27 From this, we take the difference to the actual net international investment position to calculate the stock-flow adjustment: Table 10 shows our results. Going straight to the magnitude of stock-flow adjustment in column (3) and (4)

Concluding Remarks
In this paper, we have analysed the divergence of the net international investment position accompanying the stark current account adjustment in the post-crisis period.
As a first step, we find that the increasing divergence is driven by remaining flow imbalances. Although current accounts are below pre-crisis levels, only very few countries have reversed their current account so that external debt or credit could have been reduced.
We also find a significant effect of changes in valuation. In contrast to flow imbalances, these went into a stabilising direction: countries with the lowest net international investment position experienced the highest valuation gains. On the other hand, creditor countries such as Germany experienced significant losses through the valuation of their foreign assets. We suggest that without these capital gains and losses, stock imbalances would be at significantly higher levels.
Anlaysing this effect of valuation further, we look at asset classes separately. We find that the stabilising effect of changes in valuation was driven by other investments, portfolio equity, and foreign direct investment. Within the class of other investment, we suggest that the stabilising effect comes from loans. As those are registered at nonnegotiable nominal values, the stabilising changes in valuation are due to write-offs or restructuring. Within our sample, this is driven by the European countries which reflects debt forgiveness during the European sovereign debt crisis.
In contrast to other investment, portfolio equity is recorded at the market price of a security where values can change significantly. Within this asset class, we find that the stabilising effect comes from gross liabilities, i.e. the domestic stock market. A relatively greater decrease of the stock market in countries with a more negative net international investment position significantly contributed to international risk sharing. For foreign direct investment, its value decreased across countries so that countries with a greater absolute amount of gross liabilities experienced relatively more gains from valuation. As this is the case for countries who also experienced the smallest relative real GDP growth in the post-crisis period, portfolio equity and foreign direct investment improve consumption risk sharing.
This paper contributes to a better understanding of cross country links that emerged with increasing financial integration in the last two decades. With changes in valuation moving in an overall stabilising direction during the recent global financial crisis, the question remains whether countries can "engineer" capital gains and hence actively improve international risk sharing through their foreign stock positions.
Thus, our findings are relevant for policy makers. We find that both driving effects of the stabilising pattern of stock-flow adjustment are most prominent in European countries. In the absence of a banking union and without independent monetary policy or a floating exchange rate, this mechanisms could represent an efficient way of risk sharing and should therefore be observed more closely.              Assets Liabilities ALL (g i ) -0.12 * * 0.033 0.15 * * EUR (g i ) -0.58 * * 0.01 0.58 * * ADV (g i ) -0.36 * * 0.11 * * 0.47 * * * EM & DEV (g i ) -0.01 0.01 0.03 (g i ) is the real GDP growth Country Samples see Appendix A t statistics in parentheses Estimated with robust standard errors * p < 0.10, * * p < 0.05, * * * p < 0.01