At close, the Sensex was up 477.54 points or 1.26% at 38528.32, and the Nifty was up 138.30 points or 1.23% at 11385.40. ONGC, Ultratech Cement, Maruti and Titan were the top gainers on BSE Sensex.While Powergrid, Tech Mahindra,BPCL, HCL and NTPC were the top losers.About 1860 shares have advanced, 886 shares declined, and 132 shares are unchanged.Nifty Realty was the top gainers, up 1.17%.All other sectoral indices ended in the green. BSE Midcap and Smallcap indices added 1 percent each. India VIX declined over 4 per cent to 20.43 levels.