The Sensex ended (provisional) with a loss of 358 points at 17,466 after gyrating between 17,780 and 17,258 today.The NSE Nifty was down (provisional) 96 points at 5,190.