Stock Market Today: Stocks Extend Monthly Losing Streak

The main indexes ended Tuesday with modest gains but finished October in the red.