title: Get live data of nse stocks of all symbols in python/Django
body: <p>I m working on a stock prediction project. This is how I want:</p>
  
  <p>To show all the stocks available in Nifty50, Nifty100 or so and then the user will select the stock to predict the high and low price of a stock on next day only.</p>
  
  <p>I m using Django.</p>
  
  <p><strong>What I have done till now:</strong>
  I m able to display a list of stock.</p>
  
  <pre><code>def index(request):
      api_key = 'myAPI_Key'
  
      url50 = 'https://archives.nseindia.com/content/indices/ind_nifty50list.csv'
      url100 = 'https://archives.nseindia.com/content/indices/ind_nifty100list.csv'
      url200 = 'https://archives.nseindia.com/content/indices/ind_nifty200list.csv'
  
      sfifty = requests.get(url50).content
      shundred = requests.get(url100).content
      stwohundred = requests.get(url200).content
  
      nifty50 = pd.read_csv(io.StringIO(sfifty.decode('utf-8')))
      nifty100 = pd.read_csv(io.StringIO(shundred.decode('utf-8')))
      nifty200 = pd.read_csv(io.StringIO(stwohundred.decode('utf-8')))
  
      nifty50 = nifty50['Symbol']
      nifty100 = nifty100['Symbol']
      nifty200 = nifty200['Symbol']
  
  
  
      context = {
          'fifty': nifty50,
          'hundred': nifty100,
          'twohundred': nifty200
                 }
  
      return render(request, 'StockPrediction/index.html', context)
  </code></pre>
  
  <p><strong>What I want:</strong>
  I want to get the live data of all stocks <code>open</code>, <code>high</code>,<code>LTP</code>,<code>Change</code>, <code>Volume</code>.by mean of live data is that it will change as per stock values will change.</p>
  
  <p>Please Help!</p>