The key equity indices are trading with modest gains in the early trade on buying demand in index pivotals. Positive Asian stocks boosted the sentiment. The Nifty traded a tad above the 17,900 level. All the sectoral indices on the NSE were in the green with IT, media and metal stocks gaining the most.