00:00Screener.in needs no introduction. All of us traders and investors here in India use this extensively.
00:05Screener.in is an incredibly powerful tool for stock market enthusiasts, helping us filter stocks based on fundamental parameters.
00:11It allows us to build custom screens, apply complex financial filters, and overall makes it really easy to scan and
00:17implement any complicated trading and investing strategy.
00:20But the way most people use this website is they code their scans and then they manually download these results
00:25in an Excel sheet, then apply a ton of Excel formulas on top.
00:28And this whole process is quite time consuming and frustrating. How nice it would be if you can directly have
00:33your algo system interact with this website and automate all of this with a single click of a button.
00:38In this video, I'll walk you through a simple but powerful Python scraper that will fetch data directly from your
00:43screener.in screen, handle paginations automatically so you get the full list of stocks,
00:48convert the extracted data into a nice pandas data frame for easy analysis, and finally, it'll let you save it
00:54as an Excel or a CSV file so that you can analyze it at your own convenience.
00:58And the best part is that it's very easy to implement and requires very minimal setup.
01:02Even if you're not a coding expert, I'll break it down step by step so that you can start using
01:05it right away.
01:06So let's get started.
01:08If this is your first time here, welcome. My name is Vivek and I'm a financial independent algo trader. This
01:13channel is all about building a community of algo traders.
01:14We discuss everything about algo trading using Python, building and backtesting trading strategies, market updates, much more.
01:19Please do visit our community website fabtrader.in. Also do check out my other YouTube channel, Fab Wealth, where I
01:24talk about my own financial independence journey and share tools, methods and strategies that help me achieve my financial freedom.
01:33All the details that I'm about to share with you are currently available in the blog article. I'll provide a
01:37link to this in the description as well as spend it on the comments section.
01:39So this has a detailed account of everything that I'm just covering, including, you know, what dependencies you'd have to
01:45install and the entire Python code is available so that you can just copy and use it as you want.
01:49And also, I've given you a practical example of how I've used this in my own, one of the strategies.
01:55If you want to see the utility in action, click on this one where I've created another article. In this
02:00article, I cover one of Shankaranath's strategies, investing strategies.
02:03It's called the GARP, which is growth at reasonable prices, where he basically gives you a very detailed screen for
02:09finding stocks within for the strategy.
02:11And based on his backtest, he almost got 115% return.
02:14Right. So typically, if you want to apply this, you know, the filter and then download the Excel sheets, apply
02:19all of the logics involved in it, it's at least going to take you a couple of hours to do
02:23it.
02:23But this Python implementation here, which exactly uses the utility that I'm just about to walk you through, does that
02:28with a single click of a button, right?
02:29So that's how simple you could use that utility and build really complex strategies for yourself.
02:34If you haven't joined our Telegram group, please do so. I share market insights, algo trading tips, new video notifications.
02:39And this way you can stay up to date with our community news and events.
02:42Before I walk you through the Python code, this is what exactly the Python code is going to be doing.
02:47Here's the screen that I've already saved on screener.in. This is the one. And these are the results.
02:51So the idea is when I run the screen, all of this information that you see on the screen need
02:56to be downloaded into a Pandas data frame.
02:57And that's the overall idea. And this is the Python implementation of the scanner.
03:02The things that you have to do is very, very simple. Only you have to do a couple of things.
03:05First thing is you will have to install the dependencies, these three ones, ensure that the beautiful soup, you're installing
03:09the latest one.
03:09The time of the recording of my video, 4.11.2 works on the screener.in.
03:13Anything lesser than this, you know, it gives you some error. So it's important that, you know, you install the
03:17latest one.
03:17I'm currently using 3.13 for Python version. The only other thing that you need to do is just give
03:23the link of your screen from screener.in.
03:25That's all you need to do. And then when you run it, it provides you an output just like this
03:28Pandas data frame of the actual results that you see on the website.
03:33So hope you like this little tool. I'll give you a couple of examples of on how I've used this
03:37on a couple of strategies, complex strategies.
03:39So you can take a look at this from the blog and then try this. You sit and see how
03:43it goes.
03:43And if you have any feedback or suggestions, please do let me know in the comments and I'll definitely attend
03:47to it.
03:49If there are any other popular tools like this, where you think some automation would help everyone, please do suggest
03:53that as well.
03:54And if time permits, I'll definitely build scripts for those ones as well. If you genuinely found this video useful,
04:00please consider subscribing and liking the video.
04:02And I will see you soon in another video. And until then, take care and happy trading.
Comments