Nifty up but how?

How did the market move up today?

Today FIIs sold almost 2300 cr while DIIs bought around 1600 cr. Even then markets went up around 0.9 percent. How does this happen? Am i missing something? Is it due to weekly option expiry?