Market reverses losing course on positive sentiment