The Sensex ended a two-month losing streak in October, but crude above $110 and doubts over sustained foreign buying kept investors cautious.