Stocks sink as investors look ahead to election