How to fetch NSE live data in python | NSEpy 💹

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 96

  • @munivoltarc
    @munivoltarc Год назад +5

    now this web site is not working for latest python version why ?

  • @hemanthagowda834
    @hemanthagowda834 8 месяцев назад +1

    I'm getting exception like toomanyredirects: exceeded 30 redirects.
    I have tried with giving 60 redirects it is stucked and not displaying any output.
    Can you please explain what the is problem? And how to resolve this?
    Nsepy version: latest

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  8 месяцев назад +1

      Hi Hemanth, recently, I have made updated videos on extracting NSE data in Python. Please that video out.

  • @stockmarketmindset
    @stockmarketmindset Месяц назад

    Is this ive data how much is delay

  • @mrankitipe1006
    @mrankitipe1006 10 месяцев назад +1

    can you explain how to automate excel when you are downloading these data ?

  • @manjeetkuthe1717
    @manjeetkuthe1717 Год назад +4

    I tried with various tickers and variations but the nsepy either gives too many redirect error or gives that remote disconnected error , if you have any update on how it will work reply would be very much appreciated

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад

      Currently, all the NSE libraries are not working for some time period. I hope that it will be resolved soon. However, I am researching on a new substitute and will post it on the channel asap. Subscribe and stay tuned: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

  • @ashfak2b
    @ashfak2b Год назад +1

    Great work buddy. Hope we have a fix soon for the nsepy and nsetools packages. The data doesnt fetch anymore... pls update your input or any alternate options. regads,

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +2

      I will make a video on it asap.

    • @idhantsunil
      @idhantsunil Год назад

      @@FinancialProgrammingwithRitvik much appreciated

    • @imsunils
      @imsunils Год назад

      @@FinancialProgrammingwithRitvik Thanks much, All my scripts are failing for almost a month.

  • @easwarm.s6199
    @easwarm.s6199 Год назад +1

    How to understand weightage of nifty stock @ live

  • @pranavraut2070
    @pranavraut2070 Год назад +1

    i have question related to adjusting split from the nsepy data ? there is 1/10 split in sbin before 2015 which get reflected on python charts how can i adjust to split?

  • @logiccool
    @logiccool Год назад +2

    Hello Ritvik, Is it possible to fetch the list of stock that were part of Nifty200 in any particular year form any of the python libraries?
    Let's say I need list of NIFTY200 for 2020.
    ChatGPT failed to provide correct answer to ths problem. I tried to ask specifically about yFinance and nsepy.

  • @Rahul-mj8nu
    @Rahul-mj8nu 2 года назад

    Woah, great video mate!

  • @arhamansari1312
    @arhamansari1312 7 месяцев назад +1

    Informative. Thanks Buddy.

  • @sanjaygauri8096
    @sanjaygauri8096 Год назад +2

    sir, I have written code for fetching EOD using nsepy. That the code was working satisfactorily, buy recently I found that the python code suddenly stopped working. Is there any problem with the nsepy package. Kindly help.

    • @harshgoyal2773
      @harshgoyal2773 Год назад +1

      Nse has moved from old website to new website, that the root cause of problem. Can't say if nsepy will work again or not

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Currently, all the NSE libraries are not working for some time period. I hope that it will be resolved soon. However, I am researching on a new substitute and will post it on the channel asap. Subscribe and stay tuned: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

  • @runadeyin
    @runadeyin Год назад +1

    Hello, how i can get access to your Google drive as student?

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Hi, Please follow the steps mentioned here: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ

  • @lalitroushan3510
    @lalitroushan3510 2 месяца назад +1

    is it legal to fetch PE index daily with automation?

  • @vinjad123
    @vinjad123 Год назад +1

    Hi Ritivik NSE has chaged their website from 1sr April..so will this library work with new site

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +2

      Yes... And because of that all the libraries are not working. I think they will come with an alternative very soon. I am also researching it and will make a video on it asap.

    • @nipunrawat7137
      @nipunrawat7137 Год назад

      can you sharre tje link for that please@@FinancialProgrammingwithRitvik

  • @runadeyin
    @runadeyin Год назад +1

    How to access to your Google drive. Thanks

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Hi, You can follow the steps mentioned here: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ

  • @MKSundaram
    @MKSundaram Год назад +1

    Hi, how can I get data whether market(Indian) is open or closed? I want to make a function were user enters: buy price, target, stop_loss and number of days to achieve the target. for example: (100, 112, 96 and 7 days) Now I want that the program should fetch the LTP from market for 7 trading days and check whether the analysis was hit or miss.
    How can I achieve this? Else how can I fetch the market only when it is live? Thanks.

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Currently, all the NSE libraries are not working for some time period. I hope that it will be resolved soon. However, I am researching on a new substitute and will post it on the channel asap. Subscribe and stay tuned: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

    • @MKSundaram
      @MKSundaram Год назад

      @@FinancialProgrammingwithRitvik Thanks for replying. I would definitely chk your new post. Thanks

  • @sujaljavia9676
    @sujaljavia9676 Год назад +1

    Hi Ritvik, i need nse and bse stock api which consists of every data in one like dividend and face value in one. Is it possible? if yes than can u tell me.

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      All the libraries are suspended temporarily. I am researching on substitutes and will make a video soon. Stay tuned to the YT channel: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

  • @demonicmotivator314
    @demonicmotivator314 2 года назад +1

    Great 🔥🔥🔥🔥👍👍👍👍

  • @umangtailor2500
    @umangtailor2500 8 месяцев назад +1

    What is subscription price for nse api?

  • @kavinilavuj2860
    @kavinilavuj2860 Год назад +1

    Hi Ritvik,
    Is it possible to extract the market cap value of nse data?
    Since the api data doesn't have market cap value.
    Can u pls suggest me is there anyother way we can acheive apart from webscraping ?
    Its bit urgent

  • @MrMayankpasi
    @MrMayankpasi Год назад +1

    Plz shair info for exal lab use in python plz

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Couldn't understand. Could you please elaborate?

    • @MrMayankpasi
      @MrMayankpasi Год назад

      @@FinancialProgrammingwithRitvik I need exal modul for nse data graphs.... And plz teach me for make bot in python... I am new in python plz

  • @manupandit3864
    @manupandit3864 Год назад +1

    hi, why would one get this errorTooManyRedirects: Exceeded 30 redirects.

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +2

      Currently, all the NSE libraries are not working for some time period. I hope that it will be resolved soon. However, I am researching on a new substitute and will post it on the channel asap. Subscribe and stay tuned: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

  • @kashishgupta7887
    @kashishgupta7887 Год назад

    Is there any Nse API to fetch data in javascript

  • @iyapaa
    @iyapaa Год назад

    useful video in learning.
    I will write and execute code again to confirm and have a practical Knowledge.

  • @sureshnair7973
    @sureshnair7973 2 года назад

    Greatly useful 🙏

  • @harshilgandhi8988
    @harshilgandhi8988 8 месяцев назад +1

    This is the error TooManyRedirects: Exceeded 30 redirects.,
    What needs to be done here?

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  8 месяцев назад +1

      Hi Harshil, I have made more videos on Indian Stocks data extraction in Python from NSE's new website. Please check that video out.

  • @vishalgupta450
    @vishalgupta450 10 месяцев назад

    data fetching from nse website is legal or not please comment

  • @UmaBakshi-gj6oc
    @UmaBakshi-gj6oc 9 месяцев назад +1

    I think nsepy is no more working. may i know the alternative

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  9 месяцев назад +1

      Hi Uma... I have made more videos on extracting information from NSE's new website. Please check them out here: ruclips.net/video/B-pvpn3dgTE/видео.html

  • @pc-kn7kt
    @pc-kn7kt 10 месяцев назад

    i received this error: requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
    what to do

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  10 месяцев назад

      Please check out my new video playlist on NSE Lib... It's the most updated Python package you can use to extract Indian stocks data in Python.

    • @pc-kn7kt
      @pc-kn7kt 10 месяцев назад

      @@FinancialProgrammingwithRitvik change little bit code and market time it works perfectly, thanks

  • @pranavp8486
    @pranavp8486 Год назад +1

    how to get live data and plot the chart ?

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +2

      For live data, we would need to go to paid APIs. I will keep exploring if I find any. Stay tuned here.

    • @pranavp8486
      @pranavp8486 Год назад

      @@FinancialProgrammingwithRitvik sure !!

  • @rutujashah5797
    @rutujashah5797 2 года назад

    Hi Ritvik, Does this API have an upper limit to making requests? I am seeing on internet that users were blocked by NSE website directly for making too many requests per day. I plan to use this API in my code where I am fetching data for 50 stocks and all the sectoral indices with tick size of one minute. I'll do this daily, so is it safe to go ahead and use NSEpy without being blocked by NSE website? Thank You! Good day!

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  2 года назад +1

      It's a free API, so, multiple requests may create an issue. I am not sure about the upper limit to be honest.

  • @rajeshn8751
    @rajeshn8751 2 года назад

    Good one Ritvik, but sorry to say, these kind of videos are plenty on the net to get historical data, but what most of us need are how to get live NSE Futures Data (not the fno underlying one, but real STOCK FUTURES (for 196 stocks) data) into excel. ALso live NSE Option Chain data for all the future stocks Any plans on doing that in future ?

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  2 года назад

      Thanks for the feedback and the suggestions.

    • @RGR99
      @RGR99 Год назад

      @@FinancialProgrammingwithRitvik so did you share any video on downloading nse futures data to exel, am looking for that, regards,

  • @katheravanarumugam872
    @katheravanarumugam872 Год назад +1

    Hi Rithvik ,
    I am trying same code in Aug 31 , the site is not reachable it seems . Getting error like below:
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 191, in resolve_redirects
    raise TooManyRedirects(
    requests.exceptions.TooManyRedirects: Exceeded 30 redirects
    Will you help me to resolve this

  • @MrNitKap
    @MrNitKap Год назад +1

    doesnt work....i think the API has stopped working

  • @saurabhiim
    @saurabhiim 5 месяцев назад +1

    Hi, NSE Lib is not working

  • @setnop2307
    @setnop2307 2 года назад

    Great video, but could you please give me he access to gdrive (I have completed all ur steps already)

  • @SatyendraJaiswalsattu
    @SatyendraJaiswalsattu 10 месяцев назад

    library not working.. not able to fetch any data

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  10 месяцев назад +1

      Hi Satyendra, please check my playlist on NSE Lib to extract the data from the new NSE Website.

  • @lennard4454
    @lennard4454 2 года назад +1

    it can't fetch data for bitcoin :((((

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Watch my video on Websocket to fetch data for Bitcoin: ruclips.net/user/results?search_query=websocket+api+python

  • @murtuzakhan3655
    @murtuzakhan3655 Год назад +1

    it shows too many redirect error

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +1

      Currently, all the NSE libraries are not working for some time period. I hope that it will be resolved soon. However, I am researching on a new substitute and will post it on the channel asap. Subscribe and stay tuned: ruclips.net/channel/UCyMifqUrSntvvrrGMaVPkrw

  • @reachbharathan
    @reachbharathan Год назад +1

    This library no longer works

    • @FinancialProgrammingwithRitvik
      @FinancialProgrammingwithRitvik  Год назад +2

      Yes, it is temporarily suspended, I will publish another video whenever there's an update here or if I find a substitute.

  • @shaikhmohammednauman5778
    @shaikhmohammednauman5778 Год назад

    This is not working in 2023 oct any suggestions?

  • @puransingh6999
    @puransingh6999 Год назад +1

    Hindi banao ji?

  • @balajicarriers8772
    @balajicarriers8772 Год назад

    HTTPError: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
    The last 30x error message was:
    Moved Permanently -- I'm getting this error, anyone know the reason while executing below
    q = nse.get_quote('infy')
    pprint(q)