Net foreign investment in the stock market