The Sensex opened with a positive gap of 316 points at 17,265.The index is now up 556 points to 17,505.The NSE Nifty has rallied 160 points to 5,090.