The net international investment position is the difference between the external financial assets and liabilities of a country. External debt of a country includes government debt and private debt. External assets publicly and privately held by a country's legal residents are also taken into account when calculating NIIP. Commodities and currencies tend to follow a cyclical pattern of significant valuation changes, which is also reflected in NIIP. From Wikipedia