BSE SENSEX closed at 38905.84, up by 138.73 points or by 0.36 % and then NSE Nifty ended at 11690.35 up by 46.9 points or by 0.4 %.