The dollar and US stocks have benefitted tremendously from recent global portfolio inflows. As of June 2023, the latest data available, foreigners owned a record 17% of US equities.