The domestic stock market saw a sharp upward rally over the past few weeks, driven by strong foreign fund inflows. Foreign portfolio investors (FPIs) have been net buyers for the last 10 consecutive sessions, buying shares worth Rs 37,547.44 crore, according to data from National Securities Depository (NSDL).