The domestic equity benchmarks ended with small losses after a volatile session on Wednesday. After opening at 17,519.40, the Nifty 50 index managed to pare most losses and closed above the 17,600 level. Cement, media, pharma and healthcare stocks advanced while autos and banks shares tumbled.