Real Time data

How can I get real time data for NSE Nifty Components for backtesting and Live trading for options

You can get the historical data from a data vendor such as GDFL or live data feed from your broker. Thanks