Stock Screener in Python

  Рет қаралды 51,528

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 69
@arthur.obwolo7552
@arthur.obwolo7552 2 жыл бұрын
Seems simple when watching it but when you start coding you realize how deep this is!! Excellent stuff!!
@mikkaruru
@mikkaruru Жыл бұрын
Yes, more financial stuff please! Portfolio visualization would be interesting topic!
@k2icc
@k2icc 3 жыл бұрын
#FutureWarning: The default value of regex will change from True to False in a future version. In addition, single character regular expressions will*not* be treated as literal strings when regex=True.
@minegun7248
@minegun7248 3 жыл бұрын
Your content is so good I thought there are more than 1 mil subs. With this content, you will reach one mil or more very easy
@NeuralNine
@NeuralNine 3 жыл бұрын
everybody keeps saying that. happy to hear that. But I guess it just takes some time ^^
@khalidsaleem1450
@khalidsaleem1450 Жыл бұрын
You have excellent voice and skill for online delivery. So Thanks sir for providing this learning series. Please guide why I’m getting Error in line 11 of this same program but it’s running well in your video. TypeError: string indices must be integers, not ‘str’
@birdddle
@birdddle 11 ай бұрын
Hi I got the same problem. Have you solve it?
@luisgiuliano616
@luisgiuliano616 5 ай бұрын
@@birdddle me too , did one of u solved it?
@jasonfaustino8815
@jasonfaustino8815 3 жыл бұрын
Thanks man. Good video just exactly what I was looking for. I do have one question tho, every time the code runs, does it compute all the computation again? Like the sma150 and sma200. What if I just want to update the dataframe? Just to save some computational memory. Thanks
@ondrejfidrmuc4180
@ondrejfidrmuc4180 2 жыл бұрын
Great video, thank you! Could you please tell me, how would you edit the code to print out data from the past? So not for today, but for example half a year ago? I still keep getting error, when trying to figure it out. Thank you very much again!
@Christian_Ky
@Christian_Ky 2 жыл бұрын
me: writing hello world in python > 500 errors him: after 30 minutes coding > one misspelling me: rage quit internet
@michelarruda7634
@michelarruda7634 3 жыл бұрын
In this morning i just thought about doing a stocks trading bot project for my portfolio. This video will help a lot!
@NeuralNine
@NeuralNine 3 жыл бұрын
glad to hear that :)
@arronacesatooya4862
@arronacesatooya4862 3 жыл бұрын
i got this output: 'SMA_150' for A 'SMA_150' for AAL 'SMA_150' for AAP 'SMA_150' for ACN Empty DataFrame Columns: [Ticker, Latest_Price, Score, PE_ratio, PEG_Ratio, SMA_150, 52_Week_Low, 52_Week_High] Index: [] can someone help?
@andredaher1027
@andredaher1027 3 жыл бұрын
Hi!! Could you plase make a real time map programming video please? I'm a big fan!!
@dustinshaw3355
@dustinshaw3355 3 жыл бұрын
is anyone else having problems with from yahoo_fin import stock_info, it's acting like stock_info isn't a part of the library? I watched the video and seen it work for him. But it doesn't work for me.
@nickroyal8619
@nickroyal8619 Жыл бұрын
Yes. Fixed as follows: I realised that there are 2 different libraries (probably more) associated with downloading data to Python from the yahoo finance pages. These are "yahoo-finance" and "yahoo-fin". I had this error as I was calling on the "yahoo- finance" library looking for the stock_info method, but that is actually located in the library "yahoo-fin." So, in terminal ensure you have run "pip install yahoo-fin" (NOT "pip install yahoo-finance"), and let it do its thing. You can then check it worked with: import pandas_datareader as web import pandas as pd from yahoo_fin import stock_info as si import datetime as dt tickers = si.tickers_sp500() print(tickers) Then crack on as this gentleman has shown. An hour of troubleshooting later I'm ready to start minute 4 of the video, which has been my experience of learning Python from day 1. :-D
@tcgvsocg1458
@tcgvsocg1458 2 жыл бұрын
Its really good ! Hope sometiles you do a live you do a sofg with pourcent (maybe hand rate poker ) but no add ,no import ,only python 3 vanilla
@hardikphagotra1384
@hardikphagotra1384 2 жыл бұрын
Hey this was really good but the code does not work for me and the reason is: after running the code and even making the stock data library it gives an error called url lib certificate verify failed. can you please tell me how to fix this error, I really wanna use this code for my personal analysis
@Seriosso
@Seriosso 3 жыл бұрын
Thanks for the great videos!
@disrael2101
@disrael2101 2 жыл бұрын
great can we add it as an actual on web filter via django or flask for example?
@Kig_Ama
@Kig_Ama 2 жыл бұрын
How do I get all ticker symbols available on yahoo finance not only that of s&p 500?
@allendouglas1311
@allendouglas1311 3 жыл бұрын
I tried his code on the NASDAQ tickers and pulled in about 90 'tickers' before execution error on line 55 Traceback (most recent call last):...KeyError: 'Date'. I've tried putting both 'pass' and 'continue' after the except Exception as e: and the print statement. Any ideas on what's going wrong? I'm not a python developer but I've coded in c++ about 20 years ago.
@user-kq5cd7bd3o
@user-kq5cd7bd3o 3 жыл бұрын
pandas_datareader._utils.RemoteDataError - Does somebody have the same problem?
@30BrianaFerni
@30BrianaFerni 2 жыл бұрын
I do not have that neura nine, how do I get it
@desislavgeorgiev4670
@desislavgeorgiev4670 2 жыл бұрын
Is it possible to do same but for crypto scanning?
@lambolin600
@lambolin600 2 жыл бұрын
hello Flori! are you doing custom jobs?
@wilsongomes3360
@wilsongomes3360 2 жыл бұрын
what a pity,it doesnot work
@AzamdamonSiddiqui
@AzamdamonSiddiqui 2 жыл бұрын
I always end up with empty data frame in the end
@yuvalbra
@yuvalbra 3 жыл бұрын
tanks for the video, where can i find the source code?
@FireFly969
@FireFly969 2 жыл бұрын
thank you
@alibakhtiari6297
@alibakhtiari6297 2 жыл бұрын
where is the code sir?
@shahjamalbiswas8127
@shahjamalbiswas8127 2 жыл бұрын
This is really a great video tutorial Could please make a same video for Indian stock market, because india stock market is booming now
@luisgiuliano616
@luisgiuliano616 5 ай бұрын
you just have to change for Indian index with sp500
@amardhillon9727
@amardhillon9727 3 жыл бұрын
Cool
@fx2gbg596
@fx2gbg596 2 жыл бұрын
TOP
@akkn3043
@akkn3043 2 жыл бұрын
Can you give me source code thanks
@mahenkul64
@mahenkul64 2 жыл бұрын
Hi, I ran this code in vs code, however I'm getting the error, TypeError Traceback (most recent call last) f:\Mahendra\MISC\Python Files\MMK\Stock Data Analysis\NSE50 Stock selection.ipynb Cell 2' in 9 return_list = [] 10 final_df = pd.DataFrame(columns=['Ticker', 'Latest_price', 'Score', 'PE Ratio', 'PEG_Ratio', 'SMA44', 'SMA200', '52_week_Low', '52_Week_High']) ---> 12 for ticker in tickers: 13 df = web.DataReader(ticker, 'yahoo', start, end) 14 df.to_csv(f'stock_data/{ticker}.csv') TypeError: 'function' object is not iterable Can you help me to resolve this error? Thanks :)
@keeperofthelight9681
@keeperofthelight9681 Жыл бұрын
Outdated tutorial most of the screeners code not working move on
@zombiekiller7101
@zombiekiller7101 3 жыл бұрын
Hi
@abhinavchoudhary6849
@abhinavchoudhary6849 3 жыл бұрын
2nd
@OrangeBit1987
@OrangeBit1987 2 жыл бұрын
empty DataFrame! anyone?
@0dteESmini
@0dteESmini Жыл бұрын
So sick
@LatinoWebStudio
@LatinoWebStudio Жыл бұрын
Great video! Thanks so much for it. I got started into trading some time ago and now I'm trying to learn Python to become an algorithmic trader and use Python to make better trading decisions so these videos are super helpful Do you have videos on creating your own trading bots? Do you know if a trading bot can be used on a paper trading account?
@leveltube10
@leveltube10 3 жыл бұрын
First….
@luisgiuliano616
@luisgiuliano616 5 ай бұрын
when I try this there comes the error in line 11 string indices must be integers but is exakt the same way like you did
@kevinhashimoto1194
@kevinhashimoto1194 Жыл бұрын
Hey @NeuralNine I'm having an issue with something. Traceback (most recent call last): File "C:\Users\FilePathGoesHere\SP_Scan.py", line 11, in sp500_df = web.DataReader('^GSPC', 'yahoo', start, end) I'm pretty new to python but I think I have everything written correctly. I keep getting an error on line 11 "in Any ideas?
@luisgiuliano616
@luisgiuliano616 5 ай бұрын
did you figured out till now? I got the same error and don't get my mistake
@axelaguirre9105
@axelaguirre9105 3 ай бұрын
@@luisgiuliano616 yahoo finance changed the compatibility with some pandas datareader
@rubihermosa3786
@rubihermosa3786 3 жыл бұрын
I have a problem at 29:25 I create the directory but still not working what I should do, please help me and thank you
@aryaplayzz
@aryaplayzz Жыл бұрын
did u figure it out
@MathonX
@MathonX 3 жыл бұрын
YES. A new video. Keep it up 🔥🔥
@NeuralNine
@NeuralNine 3 жыл бұрын
thank you ^^
@BjrnTrdr
@BjrnTrdr Жыл бұрын
Great Video I learned a lot! But I have a question as I am coding my own version of this. Before you are doing the ranking you calculate the ratio for all PCT Change results to the SPY. But Afterwards you are ranking them all. Comparing all to SPY is an unnecessary step, if you are ranking them anyway or am i mistaken here? Does anyone else have an opinion on this...would be interested to understand if i am missing something here. Keep up the awesome video! 🚀🚀🚀 Greetings from frankfurt
@elijahapollos
@elijahapollos Жыл бұрын
On line 16 data frame columns is it possible to add the ticker’s dividend yield ?
@thenvsnow9551
@thenvsnow9551 Жыл бұрын
Can I use "yahoofin" data for commercial app??
@bogussingh6175
@bogussingh6175 3 жыл бұрын
Hi. I need earning share, dividend and revenue data for a screener. How can I get it?
@newdata
@newdata Жыл бұрын
how to backtest for past fundamentals screens
@bogussingh6175
@bogussingh6175 3 жыл бұрын
It is giving me an error. Error - Unable to read URL
@k2icc
@k2icc 3 жыл бұрын
When running for ticker in tickers: few minutes after done, it shows:
@30BrianaFerni
@30BrianaFerni 2 жыл бұрын
can you please help I get this error line 18 for ticker in tickers: ^ SyntaxError: invalid syntax
@sovietpigeon1346
@sovietpigeon1346 Жыл бұрын
have it written on the beginning of the line
@pucek365
@pucek365 3 жыл бұрын
If only my university had teachers like you I would be genius by now.
@allanbrand
@allanbrand 3 жыл бұрын
Not sure what the issue is but this does not work at all. Have gone over multiple times to make sure everything is correct, but all I get is: {{_future warning removed_}} 1 for AAPL 1 for ABBV 1 for ADBE Empty DataFrame Columns: [Ticker, Latest_Price, Score, PE_Ratio, PEG_Ratio, SMA_150, SMA_200, 52_Week_Low, 52_Week_High] Index: []
@charjags6500
@charjags6500 2 жыл бұрын
exact same output. how do i fix it.
@allanbrand
@allanbrand 2 жыл бұрын
@@charjags6500 I never got it working
@indranildutta4252
@indranildutta4252 2 жыл бұрын
Removal of PEG, 52WeekHigh, 52WeekLow - Still not working --- Empty DataFrame Columns: [Ticker, Latest_Price, Score, PE_Ratio, SMA_50, SMA_100] Index: []
@mohitjoc25
@mohitjoc25 3 жыл бұрын
Sir make more project vedios on C++ too
@keeperofthelight9681
@keeperofthelight9681 Жыл бұрын
Peg ratio function at line 41 doesn’t work with [1][4] indexing. Please let me know whats going on
Algorithmic Trading Strategy in Python
20:54
NeuralNine
Рет қаралды 63 М.
DuckDB in Python - The Next Pandas Killer?
19:32
NeuralNine
Рет қаралды 30 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 242 МЛН
Tutorial: Build a Technical Screener Webapp in 100 Lines of Code
52:52
Part Time Larry
Рет қаралды 95 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 309 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 79 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 391 М.
Modern Python logging
21:32
mCoding
Рет қаралды 188 М.
Fundamental Analysis of Stocks with Python
19:09
Algovibes
Рет қаралды 28 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 404 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 77 М.