Skip to playerSkip to main content
  • 10 minutes ago
Transcript
00:00If this is your first time here, welcome.
00:03My name is Vivek and I'm a financially independent.
00:05This channel is all about building a community of algotraders.
00:08We discuss everything about algotrading.
00:10Using Python, building and backlisting trading strategies, market updates, and much more.
00:14Please do visit our website.
00:15Also do check out my other YouTube channel, FabWealth, where I talk.
00:20about my own financial independence journey and shared tools, methods, and strategies
00:23that help me achieve my...
00:25financial freedom.
00:28Previously, I had uploaded this video.
00:30about downloading NSE data from the new NSE website using Python.
00:33If you haven't watched this video.
00:35Please do so.
00:36You might ask, there are already a number of Python packages that download NSE data.
00:39And do we really need...
00:40need another one.
00:41Right.
00:41Well, there is a real need for it.
00:43I'll explain why.
00:45NSE, as you know, constantly update their website and due to this, the API endpoints keep changing.
00:49However, most of the...
00:50the Python packages that you see on GitHub don't keep up with these updates.
00:53So either most of the packages...
00:55stopped working already or do not have all the functionalities that we normally look for.
00:59And that's the reason I thought I'll...
01:00put this utility together.
01:01As part of my commitment towards this community, I'm not only...
01:05going to keep the script updated with any changes to the NSE website, but I'll also keep enhancing it to include other...
01:10new things in future.
01:12To that effect, in my earlier video, I had asked if you would like to see...
01:15any additional functionalities added to this utility.
01:17One of our subscribers, Prasad, had commented and suggested...
01:20a few items, so Prasad, this video is for you.
01:22I will start rolling out those new items that you asked for.
01:25one by one.
01:26In this video, I'll cover corporate announcements.
01:28I've updated the script to download corporate announcements.
01:30from NSE website, and I'll quickly walk you through the updates.
01:33This is the corporate announcement web page.
01:35on NSE website, I know, I mean, staying up to date with corporate announcement is crucial for some of the...
01:40traders and investors, so they typically follow this particular page to understand news about earning reports.
01:45mergers and acquisitions or regulatory filings, because all of these have a direct impact on the price of the stock.
01:50Although I do not directly use this data in any of my algos, I've seen some of my friends use it extensively.
01:55They use it either for sentiment analysis or sometimes they even have event driven trading strategies based on corporate analysis.
02:00So they use that for that purpose.
02:03In this video, we'll take a quick look at the utility which can...
02:05download this particular information using Python and let me quickly walk you through the code now.
02:10As usual, I'll provide the link to where this particular code is available.
02:13It's available on our community website.
02:15evaporator.in.
02:16This is the main utility file, the class file where all the utility functions...
02:20are defined, methods are defined, and this is the sample program on how to get corporate announcement data, right?
02:25So as usual, you import the NSUtility, which is this file, and then you create an instance of the NSUtility.
02:30called the NSUtility.
02:31And then you can use NSUtility and invoke this method, which is getCorporateAnnouncements.
02:35And then when you run it, it downloads whatever you see on the website.
02:38So it also provides you a link and if you click...
02:40It opens up that PDF for the announcement.
02:42This is one way of doing it or if you want to...
02:44When you run this...
02:45It runs for the last one month, the default period of one month, but if you want it for a specific period...
02:50Then you can provide the start and the end date, and then it'll download all announcements that were done between these two.
02:55And then you will have the output in a Pandas DataFrame.
02:58So you can use this utility...
03:00For example, you can have a small script that will run this at the end of every day, and then extract all announcements for that.
03:05particular day, and either send it to your Telegram account, or you could send it even to your email on a daily basis.
03:10So you can do it that way if you want me to kind of do that for you, maybe show you in one video how to do...
03:15Please leave a comment, and then I'll definitely try and get that done.
03:19So that...
03:20That's pretty much it for this video.
03:21I have a few more announcements that I've done for this utility, which I'll be covering in the...
03:25videos to come.
03:26I hope you like this.
03:27If there are any comments, feedbacks, or suggestions, please do.
03:30Leave a comment, and I'll see you in the next video.
03:33If you genuinely found this video useful, please...
03:35consider subscribing and liking the video.
03:37And I will see you soon in another video.
03:38And until then, take care and happy trading.
03:40Bye.
03:41Bye.
03:42Bye.
Comments

Recommended