How to do cash and futures arbitrage?

i want to do the cash and futures arbitrage as i am a beginner, can you please explain in detail like for example, tcs stock price and tcs stock futures are having price discrepancies, how one can take advantage of the price differences between the two. and also the last question, how much of the quantity i should buy for both, stock price and futures price. please help.

Hello,

You can read more about the cash and carry model for futures pricing here.