Extract data from NSE using Python

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

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

  • @kartikeyakotnala110
    @kartikeyakotnala110 7 месяцев назад +2

    shortcut without code... right click the 3bar icon in upper-right corner of chart and click downlaod csv. However, it is very useful if you want to fetch more than 1 file. Love your video thank you very much.

  • @swapnilpatil1422
    @swapnilpatil1422 Год назад +3

    I am doing the same thing from the last 2 years it works with high accuracy for FnO... you can try for BN,Nifty, Sensex and also scrape the whole FnO section....I faced the same issue with the header but managed to solve it diffrent way...kudos :)

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

      I am trying for the last one month to get real time option chain data, can you please share the api details and authentication

  • @NickMaverick4
    @NickMaverick4 6 месяцев назад

    You made the process so easy.. very easy.. to do.. had watched more than 20 videos wasn't getting confidence. Please make video on fetching data from rapid api site

  • @vinodrathod8515
    @vinodrathod8515 8 месяцев назад

    Nice video and would be great to see more of this kind of knowledge-sharing video. Thanks

  • @karanbora1741
    @karanbora1741 13 дней назад

    Thank you soo much...this jugad helped me in my project

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

    Great video very helpful

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

    Nice Tutorial, Thank you very much ! Worked Nicely in my Linux WorkStation

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

    Really Useful Sir

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

    Great Job

  • @RohitChaudharyIndia1
    @RohitChaudharyIndia1 9 месяцев назад

    Thank you so much for creating this video. It helped me a lot. 😍

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

    Wao.... awesome.......great
    Also make video for auto fetch cookies

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

    excellent explanation sir thank you.

  • @nittinaggarwal1068
    @nittinaggarwal1068 9 дней назад

    Hi is there any possibility to retreive the data from the PDF available on the NSE Website

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

    Is it legal to get data like this and host a website as a personal project?

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

    Nice one

  • @warkejk
    @warkejk 4 месяца назад

    Can we today’s live data every ms on which the algorithm can run?if yes I have a assignment for you for development of indicator.

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

    Is there any way to extract the corporate announcement from nse ? Please reply ..

    • @jothiprakashanandan
      @jothiprakashanandan  9 месяцев назад

      You can get it using this video --> ruclips.net/video/blKBSiYDR8k/видео.html

  • @ujjwalchetan4907
    @ujjwalchetan4907 6 месяцев назад

    Very useful content. Thanks 🎉

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

    Thank you so much for exact information

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

    hi, Good morning, its simple and great , and this the only Py available on utube for pre-open stock data chart, do we need to change url/cookies daily?

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

      Thanks, Murthy. Yes. Cookie change is necessary on a daily basis.
      Selenium based automated fetch can help here. Will make a video on this soon.

  • @fxmathematica879
    @fxmathematica879 2 месяца назад

    can we do this for live data

  • @shauryashri8865
    @shauryashri8865 3 месяца назад

    Can you create one video about fetching data from NSE and displaying in on Googlesheet?

  • @tanvirhussain7952
    @tanvirhussain7952 6 месяцев назад

    how to do the same for bse? i tried but it redirects the link i get from fetch/xhr. please guide

  • @sid_nhk
    @sid_nhk 5 месяцев назад

    very informative video !!

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

    Can you make a video on how to extract data of an index over a period of time. Index like nifty momentum 30?

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

      Noted. Will do. Thanks for the feedback.

    • @pratimbaidya1480
      @pratimbaidya1480 9 месяцев назад

      @@jothiprakashanandan I am a data science student from mechanical background. So I don't have much knowledge about Computer Science subjects. I am struggling with web scraping. I know python basics. Anything you can suggest??

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

      @@pratimbaidya1480 I would suggest to try to scrape a live website. Try something out. You will learn quickly. And try to use ChatGPT too. It will help you with the code part.

  • @Muzikktime
    @Muzikktime 4 месяца назад

    Very nice.

  • @newsletterstar
    @newsletterstar Год назад +3

    How do you solve for cookies expiring after 24 hours? Do you manually add new cookie every time you run? Thanks for the video - helped solved my problem

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

      Did you get any solution?

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

      I'm looking into this solution. Once I find how to automatically generate cookies I'll publish a video about it.

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

      @@jothiprakashanandan and what about sensex and bankex data from bse option chain?

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

      ​@@aloobikano794 I haven't tried BSE data extraction. But I've noted it now. Will publish a video on BSE too.

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

      ​@@jothiprakashanandanjust use dictionary value for cookies simply. But is it legal to scrape data from NSE website? Especially when we use it for analysis in our web app. Plz clarify if you can.

  • @88meetajinkya
    @88meetajinkya Год назад +1

    it was really innovative. Thanks for sharing this. However, I was wondering how much sustainable this approach is? If I want to create my own trading bot then can I trust this method way to get the live quotes? If not then would you mind to advise other (free/cheaper and reliable) alternatives to get live and historical quotes?

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

      Just did it with Python - no cost.

  • @snad14
    @snad14 5 месяцев назад

    Nice video. But for some reason I am unable to get it running, keeps on saying SSL error

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

    Great Work sir, kindly teach us the initiator chain in request and how could we get the data.

  • @jayeshsingh-u1f
    @jayeshsingh-u1f 9 месяцев назад

    How can i get sum of sales data of all nifty 500 companies for FY22 ?

    • @jothiprakashanandan
      @jothiprakashanandan  9 месяцев назад

      You mean the total amount traded? BhavCopy has the data. I have a video about it in the channel. Please check.

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

    Does this code work from the AWS EC2 server ?

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

    do we need to change the header everytime? for that API

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

      Yes, Sanket. Selenium can help to automate.
      If you are doing a one-off analysis this is the best way.

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

    excellent content. can we pull tick by tick volume data as well?

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

      Hello Sanjay, NSE does have volume at minute level. It doesn't have volume data at seconds level.

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

    How do you get such data for Nifty? Is there anyway to use similar way to capture data from TradingView?
    Btw, Really helpful video :)

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

    Do you provide ALGO for Change in Open Interest????

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

      I have this idea too. Will create a video on this soon.

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

      yes.. i tried the same for OI.. you can scrap the data for BN,Nifty or Sensex

  • @amarjitkaur6403
    @amarjitkaur6403 6 месяцев назад

    NSE website says it is illegal to do scrapping so what to do if want to use in website and make it live and hoping to launch ios and android apps, pls guide

    • @abcdabcd8605
      @abcdabcd8605 5 месяцев назад

      Did you find a way to get NSE data?
      I too want to create a website using using dividends data and I couldn't find any other website other than NSE.
      But scaping data like this and hosting as a personal project is illegal right?

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

    Do we have any nse api to get real time option chain data, if so can you please share it

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

    Can you make stocks options open low scanner

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

    Hi Sir, one more doubt - Why it is displaying only 5 data's that starting from 09:15:00 to 09:15:04?

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

      Because he has used pd.head()
      It gives you only the first 5 rows of your dataset

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

    Hi Johti
    I was trying to get the names of stocks that hit a new high on a particular day, but it didn't work. If you know how to get the result, it would be really helpful if you could share it in a comments

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

    Is it real time data whar is the time interval 1h, 4h, 15m etc..

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

      It's not real-time. The data is at 1 second-level granularity.
      To get live data, watch this video --> ruclips.net/video/IQQdZp_LwZs/видео.html

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

    Is it legal to fetch data from nse website?

  • @sanjoykumarroy
    @sanjoykumarroy 5 месяцев назад

    Gem!

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

    Hi Sir, Great video. I have one question:
    I want to run this code every minute but it seems after some expiration time, cookie has to be updated. Can you please tell how can I get automatically update cookie.

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

    Great Video and Learning Sir!!! Hats off to you. How do we convert this data to excel and update the excel in realtime? is it possible? please advice sir.

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

      I get the OI data into excel every few minutes

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

    is nseindia website allow to web scraping ? and is it legal ?

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

      As long as it's educational, it's allowed. Enterprise purposes are not allowed.

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

    could not see a single screen you are talking about in the nse pages, am i missing something!!!!

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

      Make sure you are visiting www.nseindia.com/ and not the old website.

  • @GauravSingh-mn8hv
    @GauravSingh-mn8hv Год назад +1

    Do we need to refresh cookie always ?

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

      Yes. You can automate the cookie fetch using selenium.
      But if you are doing a one-off analysis stick with this method.

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

      @@jothiprakashanandan Hi. Loved the tutorial. Would be very helpful if you could provide a tutorial on how to automate the cookie fetch. Thank you in advance. :)

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

      @@jothiprakashanandan Very helpful video! How can we automate the cookie fetch using selenium?

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

      Will create a video with cookie auto fetch.

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

    Sir is this legal approach?

  • @insidehead
    @insidehead 11 месяцев назад +1

    How to get time and sales data??

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

      In this video, sales data is not available. Sales data is available in the daily stats page of NSE.

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

    Sir can i also get oi data of each candle from this method??

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

    How to change cookie? Please make a video.

  • @Dream_Boy_0
    @Dream_Boy_0 11 месяцев назад +1

    NSE- does not allows to webscraping

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

    Thanks for the video.
    Can you share your source code ?

  • @घटिया_कानून
    @घटिया_कानून Год назад +1

    please get live markecap

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

    Sir how can i contact you to learn more

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

    Hi jothi

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

    InvalidHeader
    issue

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

    I have one project to fetch data from nse bhavcopy to google sheet,how can i contact you

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

    My header does not work after certain time and I have to get a new one. But nice video ❤

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

    Hello sir....i need your help .can i get your contact plz ?

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

      My email id is in the channel details page.

    • @sarojkumar-fi5mj
      @sarojkumar-fi5mj 9 месяцев назад

      @@jothiprakashanandan I am unable to find your mail sir ....can you please share here

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

      @@sarojkumar-fi5mj It's jothiprakashanandan@gmail.com