niftytop10

earn 20% yearly

Pages

  • Home
  • Calculate Bse-30 Sensex Youeself

Thursday, February 23, 2023

Nsetools

 


#nifty50  not define

from nsetools import Nse

nse = Nse()


stocks = ['INDUSINDBK', 'SHREECEM']



#data = [nse.get_quote(stock) for stock in nifty50]


data = [nse.get_quote(stock) for stock in stocks]


symbol2price = {stock:nse.get_quote(stock)['lastPrice'] for stock in stocks}


print(symbol2price)


Posted by R.P. AGRAWAL at Thursday, February 23, 2023 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Amibroker 2023

Posted by R.P. AGRAWAL at Thursday, February 23, 2023 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2023 (2)
    • ▼  February 2023 (2)
      • Nsetools
      • Amibroker 2023
  • ►  2021 (19)
    • ►  July 2021 (1)
    • ►  June 2021 (18)
  • ►  2015 (2)
    • ►  October 2015 (1)
    • ►  February 2015 (1)
  • ►  2014 (34)
    • ►  December 2014 (7)
    • ►  November 2014 (16)
    • ►  October 2014 (4)
    • ►  September 2014 (2)
    • ►  August 2014 (1)
    • ►  July 2014 (2)
    • ►  February 2014 (2)
  • ►  2013 (2)
    • ►  October 2013 (2)

About Me

R.P. AGRAWAL
View my complete profile
Simple theme. Powered by Blogger.