The domestic stock markets on the last trading session of the week erased the losses after taking support from positive global cues that included an indication of strength in the labour market of the United States and positive sentiments in other Asian markets.