Hi everyone! You can find the code for this tutorial here - github.com/dataquestio/project-walkthroughs/tree/master/sp_500 .
@feiziihu Жыл бұрын
Thanks Vik!
@AudaiLouri Жыл бұрын
Thanks Vic, However your F1 score is at 0.5. How does that factor in?
@aarondelarosa3146 Жыл бұрын
Thanks, but it's incomplete.
@saip6126 Жыл бұрын
Hey Viki. You should have used the pd.dropna(inplace=True).
@majorkuntz9 ай бұрын
Great video. Will you or can you provide additional information on other useful classifiers and also how to merge other data sources like news and sentiment into this code?
@micheal_mills2 ай бұрын
Before you start investing, it's crucial to understand the basics of investing, different asset classes (stocks, bonds, real estate, etc.), and the associated risks. are you investing for retirement, buying a home, or building an emergency fund? Your goals will help shape your investment strategy.
@philipr17592 ай бұрын
Don't put all your eggs in one basket. Diversification means spreading your investments across different asset classes (stocks, bonds, real estate) and within those classes (different companies or industries). This helps reduce risk.
@HarrietBemish2 ай бұрын
I Invest in low-cost index funds or ETFs that track broad market indices, such as the S&P 500. These funds offer diversification across a wide range of stocks and can be a more passive, low-maintenance investment option. They are suitable for investors who prefer a hands-off approach and want exposure to the overall market.
@DavidRiggs-dc7jk2 ай бұрын
I try to consider a mix of bonds and fixed-income securities to provide stability to my portfolio but i need solid advise.
@HarrietBemish2 ай бұрын
I'm very cautious about giving specific recommendations as everyone's situation varies. Consider independent financial advisors like "Vivian Jean Wilhelm" I've worked with her for some years and highly recommend her. Check if she meets your criteria.
@DavidRiggs-dc7jk2 ай бұрын
Thanks a lot for this suggestion. I needed this myself, I looked her up, and I have sent her an email. I hope she gets back to me soon.
@henriquesousa478910 ай бұрын
The features used for the random forest cannot be the high, close, low , open values directly without any transformation because what the model is essentially doing is creating a overfit of non linear decisions to certain prices ranges. It is basically memorizing that when the close was above X value and open below Y value predict 1 or 0. You need to normalize the predictors in some way so that the model can use them independently of how high the value the stock is and truly create generalizable rules. Ratios are good since they use percentage instead of using absolute values and allow the model to use information of multiple candles as well.
@kibs_neville8 ай бұрын
Quite important comment.
@pauloTx27 күн бұрын
tu pode me ajudar ? preciso fazer um projeto com random forest, tentar prever mini indice.
@superztnt Жыл бұрын
Clear and to the point. I hate super long videos full of things that don't provide much value. This one was great. I like that he walked through general data science/machine learning steps. In particular the data cleansing which many skip over, but it is actually an important step. Also, a pet peeve of mine is audio quality. This video you can hear the presenter clearly and he doesn't sound like his is working from a tin can.
@Hannahbenowitz2 ай бұрын
First of all, this whole economic chaos was powered by optimism that the FED is done with hiking interest rates. Now that interest rate crash is the situation, where do we go from here? How would you advise I safely allocate $250k funds at this point?
@bartlyAD2 ай бұрын
The market is volatile at this time, But doesn't the Federal Reserve's monetary policy and low interest rates contribute to the current valuations? hence I will advice you get yourself a financial advisor that can provide you with entry and exit points on the share/ETF you focus on.
@FinnBraylon2 ай бұрын
Agreed, my portfolio is well-matched for every market season yielding 85% from early last year to date. I and my CFP are working on a 7 figure ballpark goal, tho this could take another year. IMO, financial advisors are the most sought-after professionals after doctors.
@HildaBennet2 ай бұрын
This sounds interesting. My portfolio is in the red. Can you recommend your analyst, please?
@FinnBraylon2 ай бұрын
Mine's Rebecca Noblett Roberts. She turned out to be better and smarter than all the advisors I ever worked with till date, I’ve never met anyone with as much conviction.
@HildaBennet2 ай бұрын
I ran an online search on her name and came across her websiite; pretty well educated. thank you for sharing.
@charlene6306 Жыл бұрын
Watched up to 2:26 and I already know this is going to be excellent. Clear and concise explanation from the start and you know this is going to be more than your ordinary YT tutorial
@alang.2054 Жыл бұрын
It's not excellent, you can't beat the market as regular person. You basically compete with Harvard graduates with math, computer science, etc. Degrees. Again, one KZbin video won't make you beat the market
@mjmares Жыл бұрын
@@alang.2054 someone had to break this kids dreams of being rich off a youtube vid
@okoo7385 Жыл бұрын
@alang.2054 Where'd you get that she said she would beat the market from her comment? I read an observation just stating that, this video is higher quality than most YT videos that claim to teach you something specific yet just give you fluff..
@psimondk Жыл бұрын
Hint: on a recent macbook you can use all its cores by: import joblib N_CORES = joblib.cpu_count(only_physical_cores=True) ... model = RandomForestClassifier(n_estimators='your value', min_samples_split='your other value', random_state=1, n_jobs=N_CORES) The speedup is amazing
@DonFranciscoUSF Жыл бұрын
you don't need any information about the system to do this, n_jobs = -1 will use all the available cores with no imports or extra lines :)
@rstea Жыл бұрын
I’m new to coding but have always been an avid market watcher and looking for opportunities. Best video I’ve seen since I started scouring the depths of KZbin for this content last week. Thank you sir!
@idkidkidk3488 Жыл бұрын
This is awesome, instead of showing what you need to learn or try it shows how to actually build a model. This is very usefull. Thank you!
@idkidkidk3488 Жыл бұрын
Could we get a similar video bus featuring a deep learning model instead?
@alang.2054 Жыл бұрын
What are you talking about? Do you really think this guy would show you real ways to make money? On market you compete with professionals in multi billion hedge funds with degrees, you can't beat them with KZbin video
@cooltraderf Жыл бұрын
Excellent. This tutorial corrects an error that pretty much every other video from others that I have seen has made. Don't seek MSE precision in your target as your goal. That's not what practitioners are looking for. Do what this educator has done instead. This model gets it right as used in the real world. Solid base to work with. Well done!
@Charles-m7j7 ай бұрын
No, this is not even close to how practitioners have approached the problem in the last 30 years…
@khushaalb26889 ай бұрын
My man is doing noble work. Kudos!
@johnnydavidsantana1935 Жыл бұрын
Hi, how do I predict the next , for instance in a new data.
@emadbagheri1083 Жыл бұрын
Searched & watched a LOT of videos. This is the best. Well done man.
@jsonbourne50859 ай бұрын
have you tried them? do they work on real data?
@arpansaha4688 Жыл бұрын
Which SOFTWEAR used for run this code ?
@trynagethitbytruckkun78357 ай бұрын
I am getting a zero division error while calculating precision score so please help
@Juoa794 Жыл бұрын
The last row regenerated by the backtest is 2022-05-17. If the latest existing close is 2022-05-18 (assuming we’re in the morning of 2022-05-19), how is it we can predict the close of 2022-05-19? I suppose this has something to do with dropping rows with NaN…
@marmadukethurmond82026 ай бұрын
I've always been interested in binary options, but I never knew where to start. Thanks to you and this video, I finally felt confident enough to give it a try.
@SuperVIN7862 жыл бұрын
On September 1st, 2022, I ran this exactly as it is shown in video. It pulls data till August 31st, 2022 which is what I expected. However, the tomorrow column, the predicted price for Sept 1st does not show. At the end of the script, it pulls data up to August 30th and predicts price for August 31st which is not correct because that is previous close. It should predict September 1st because the market is not closed yet. Something wrong somewhere and I am still learning this script.
@Dataquestio2 жыл бұрын
It will remove some rows from training because we need to have an actual tomorrow price value to use the data for training purposes. You can feed future data into the predict methods the same way you feed in the test set. This will let you make future predictions.
@cdvllc2 жыл бұрын
@@Dataquestio Would be able to provide an example of code how you would feed future data into the predict method? I think that example would be great for people to understand the process
@mquannz5573 Жыл бұрын
@@cdvllcI agree with u, I also stuck in the code to feed future value in prediction phase
@rosscortbАй бұрын
Great video, would you consider doing a follow up on some of the stuff you mentioned that would further enhance it?
@anujsaraswat225710 ай бұрын
I'm hoping you can do a follow up video to this. Would be great to see how you would incorporate macro data into your model, such as news or interest rates.
@tonimeiners8945 Жыл бұрын
Thanks for your great video. Im curious to read more about the whole issue of predicting actual prices versus only the direction. Do you have a good source on this? I can see why the latter is more robust, but once you start accounting for transaction costs, the magnitude of the direction is also important. curious to get your thought on this too.
@Charles-m7j7 ай бұрын
No one does what he did because it’s stupid. It’s been common practice for over 40 years to calculate the logged odds of the derivative of the price (logged odds of the returns).
@felipelahrssen76328 ай бұрын
So a question, it’s currently 04-11 and I’m only getting the predictions for 04-10. As in I’m not getting the predictor for 04-12, it is also currently past 4pm so I’m assuming it is because the tomorrow price is = shift(-1). How is this a predictor then if it only gives me the prediction for day of and not day after?
@maburwanemokoena7117 Жыл бұрын
when you split the data into the training and testing dataset, you are actually performing what is called Simple Random Sampling, this will cause the training data to have the same elements/characteristics of the testing dataset. If you were to calculate the means of each predictor variable in the testing and training dataset it will roughly be the same due to random sampling. The point I am trying to make is that you cannot claim the model has not "seen" the testing data, yet it managed to capture the majority of its properties due to simple random sampling, how about you train the model using the first 70% rows then leave the remaining 30% at the bottom for predictions? In that way the model does not have any idea what's happening with the remaining 30% (though there is an argument one can put forward about this), I think that approach would be the most realistic. I have used the simple random sampling before and I have gotten results which seemed to be accurate, it was not until I used this method I am suggesting to you that I obtained a little bit higher errors.
@jackwillison1775 ай бұрын
I've heard the stock market often does well during election years. I recently inherited a lump sum and want to invest it wisely to take advantage of this potential upswing. Do you have any tips or strategies?
@Williamjame4445 ай бұрын
A good portfolio should have three basic things: ETFs for diversification, dividend stocks for cash flow, and leading tech stocks. When starting especially with a lump sum, it's a good idea to talk to a fiduciary advisor for expert advice.
@vivianlucy1415 ай бұрын
I believe every Investor should start with ETFs for a solid foundation, then diversify across asset classes and maintain disciplined, regular investing to minimize risks and maximize growth.
@SCOTTDisick-yc7x5 ай бұрын
You don't need to find the next NVDA to succeed in investing. Just choose top-notch ETFs and partner with a financial advisor like I did. I turned $100k into $40,000 in annual dividends-a significant milestone for me today.
@Markscott4125 ай бұрын
I've been considering getting one, but haven't been proactive about it. Can you recommend your advisor? I could really use some assistance.
@SCOTTDisick-yc7x5 ай бұрын
I'm cautious about giving specific recommendations as everyone's situation varies. Consider independent financial advisors like "Melissa Elise Robinson" I've worked with her for 6 years and highly recommend her. Check if she meets your criteria.
@FinanceCollege20245 ай бұрын
Hello there. thank you for this excellent education. just I have one problem. my yfinance does not work and gives some errors. please introduce another library that I can catch the data
@edmundobrown5604 Жыл бұрын
thank yiu so much fir the video. I have taken varius courses in different places, and your video and teaching style are certainly the best !
@jalego8002 жыл бұрын
Since I suppose 05-19 is your next day, how do I see your 05-18 "Tomorrow" prediction in the sheet? The code, sp500 = sp500.dropna() has already removed the row of 2022-05-18!? Thank you!
@Dataquestio2 жыл бұрын
Hi JaLe - If you want this model to work for tomorrow's price, you'll need to replace the line that says `sp500.dropna()` at the end with `sp500 = sp500.dropna(subset=sp500.columns[sp500.columns != "Tomorrow"])` . I've updated the code to reflect this - github.com/dataquestio/project-walkthroughs/blob/master/sp_500/market_prediction.ipynb . After making the update, just run this model after the close of the market. Then, the last prediction in the `predictions` DataFrame will be the price change for tomorrow.
@jalego8002 жыл бұрын
@@Dataquestio Hi Vikas, I can see the last day dataframe now after replacing the code, but only 0 or 1 shown in the "Target" and "Predictions" column with corresponding date. So, I suppose we're not eligible to see the exact price of tomorrow market, right !? Great to receive your response and thanks for your help! I really enjoyed in this project!
@codermetaichinh2 жыл бұрын
Hi Jalego, Suppose today is 05-18, after the market close, you will have the values of these features: "Close", "Volume", "Open", "High", "Low". Then, when you run the model (it's trained), you only need to pass the values of these features: "Close", "Volume", "Open", "High", "Low" to the predict function to get the "Target". No need the feature "Tomorrow". I think the prediction for "Target" (Up or Down) maybe make you confuse. Because "Target" is depended on the "Tomorrow". But, indeed the "Tomorrow" we don't know, It will happen in the next day 05-19, so we must predict it. In this tutorial, instead of predict the next close price (Tomorrow), Vikas makes prediction for the "Target". P/S: I also confuse when see this video in the first time 😁
@robertneighbors3520 Жыл бұрын
Backtesting/optimizing on historical data is merely "curve fitting". I know from firsthand experience working with TradeStation, creating a model that blew away the market on 4 years of recent historical S&P Futures data, but then failing miserably going forward on live data.
@johnhudson9248 Жыл бұрын
Known as the overfitting problem.
@Juoa794 Жыл бұрын
How can we measure whether this model is overfitted or not ?
@robertneighbors3520 Жыл бұрын
Anytime you use historical data - - and you optimize your trading algo's on historical data - - you are merely curve fitting. I highly recommend paper trading your algo on current data for at least 3 to 6 months to see it's real world performance, the longer the better.
@tochukwuumunnakwe2300 Жыл бұрын
Hi, great lesson, I have a question. I'm still new to data science. But why didn't you use the data as a predictor? Im asking because say we want to predict what happens in the next day. How do i pass it to the model when i didn't train with it
@bitterbob30 Жыл бұрын
Ok, you have a model that when it says the market is likely to go up the market does go up 57% of the time. That's great. Now today is May 10, 2023. How do I know what the model thinks is going to happen tomorrow?
@bitterbob30 Жыл бұрын
Never mind, I see it is explained in some of the other comments. I need to look at the prediction column in the last row of the up-to-date data set.
@abhikmukherjee2926 Жыл бұрын
Hi @Everyone, I am getting this following error when trying to get the predictions for the second time on the new_predictors Code: predictions = backtest(nifty50, model, new_predictors) FYI, I am using Nifty50 dataset. ValueError: Length of values (1) does not match length of index (250) Can anyone guide me through this error, I am not getting it. Any help would be much appreciated.
@xd_pwow456yt42 ай бұрын
anyone else facing a problem in 15:03 with the preds = model.predict(test[predictors]) im on google collab so can any1 help please
@thomashoppel59052 ай бұрын
Yes. It's only printing 0's for me. Did you figure it out yet?
@xd_pwow456yt42 ай бұрын
@@thomashoppel5905 same unfortunately I've used chatgpt bard ai etc yet they aren't helping as in all scenarios its showing 0s only
@arturlima32102 ай бұрын
@xd_pwow456tr4 @thomasshoppel5905 I changed my random_state to other numbers and it started printing 1's as well. Try doing that as well and see if it fixes the issue like it did on my machine
@xd_pwow456yt4Ай бұрын
@@thomashoppel5905 still trying ; 0 progress unfortunately, what about you??
@xd_pwow456yt4Ай бұрын
@@thomashoppel5905 Yes bro i finally got it, you just need to check if you put the colons on the iloc part of the code
@PGDave-v8i9 күн бұрын
why not try using an input proba of 80% in stead of 60% ? how would it change the result ?
@krishjaswal2975Ай бұрын
How much accuracy
@evad1564Ай бұрын
Where can I code this on and how do I install the modules, the stock tables dont appear when i code this on vs studio
@emptypocket2516 Жыл бұрын
I'm quite confused about the plot at 16:50 . Can someone help explain it? Thanks
@skiraf Жыл бұрын
In Step:31 (Time 20:00) the 10 year loop looks very similar to LSTM. Why not use LSTM instead?
@ivgnes10 ай бұрын
16:35 A rough estimate of this model's real world accuracy is 10 - 20%. Fascinatingly, we get the same accuracy when doing Vedic astrology + ML. Maybe this is the reason why no "super AI traders" or "super astrologers" have popped up in the last 5 years of this tech being around. ML is better for data points that is far too abstract for humans, like pixels in an image. Hence AI image recognition has amazed the world and not "AI trade prediction".
@RobCoops Жыл бұрын
You would only care about directionality if brokers fees where not a thing. As soon as you are trading via a broker knowing the the price will go up is great but if it goes up by 10 cents and you would stand to gain $10 in absolute value is great but if the brokers fee is $5.99 you are not winning at all as you will still need to offload the stock thus you are loosing money and only your broker is winning here. This is why both price and direction are relevant you need to not only know you will see a price increase but also know that it will be enough to actually make sense to buy. Sure you could bet on the gains on average outpacing the fee's thus ending up net positive but if you are into betting like that leveraged options trading might be a better fit than stock trading.
@JPiwowarski Жыл бұрын
Vik thank you for this video! Greetings from Poland. Please explain to me how to connect the model so that operating on a virtual server bought and sold instruments? How do you combine it?
@uptonster8 ай бұрын
The confusion I have on this video is if you call 'fit' multiple times on the different periods of data does not sklearn create a new random forest model from scratch? Shouldn't you build all the data together in one training set with the test chunks left out and put into a singular data set?
@sergiysergiy8875 Жыл бұрын
How would you use the volume column? Not sure how to use the volume, can we build some relative volume indicator? Can you give a hint, or maybe a link to a video, where you use volume somehow to improve your model? Volume should influence the model significantly.
@markk36411 ай бұрын
What did you use for the risk rate as there is no such thing that exists in finance
@Donvito29310 ай бұрын
What is missing is comparing it to another strategy. What about Buy & Hold? What about "if the price increases yesterday, it will increase today"?.
@garyandrewranford3 ай бұрын
Impressive video, and very well narrated !!! I have certainly learnt more about PY and ML... I am curious as to taking the model and learning, knowing how to tweak it to improve its successful trade ratio (with the conditioned factors already in place) Thank you for taking the time to do this video...
@mohibahmad58342 жыл бұрын
Sir your explaining skills are top notch
@dimitriosdesmos46996 ай бұрын
your ability to hide though is not....
@The0ldg0at9 ай бұрын
Machine learning is artificial learning from a geat many individual experiences. And like the wize man said "Experience is a lantern that we carry on our back and which only ever illuminates the path traveled". The experience of the Stock Market was done with a dominant economic model. Who knows what other models creative minds will come up in the future.
@maalikserebryakov9 ай бұрын
The stock market always existed.
@fluutuu3 ай бұрын
Hi Vik, I love the way you work and describe at lightning speed so effortlessly. As you said, you have worked for a long time on this and I am quite sure you wouldn't give away your personal final model. But since you probably already included other stock markets and in particular news feeds, could you give me a hint to which kind of accuracy you got up to? I am not asking for any kind of code, I would love to do that on my own - but it would be so great if you could give me a hint where I might get...
@Juoa794 Жыл бұрын
I cannot thank you enough! It's very straight to point and I've learned more in this video than in n online courses and articles.
@circus149 ай бұрын
Vik, I echo the compliments on the excellent video. I was able to use my own bespoke weekly market timing signals aligned with weekly S&P closes to finally get a grounded statistical "opinion" on the predictability of forward returns - as only my second Python exercise! Thanks!
@bhavyamehra6931 Жыл бұрын
i didnt get the point of shift{1} in the trend column? why shift 1 forward?
@wellsHannahh10 ай бұрын
Do you think it's a good time to consider selling some stocks, or is it better to hold onto them for the long term? I’m considering rebalancing my $2M portfolios, So I'm curious about the best strategies for potential market downturns
@Resmith18S10 ай бұрын
I guess it's important to reassess your investment strategies based on current market conditions. You should also consider a market expert to guide you.
@wealthychronicle-i1u10 ай бұрын
You're right mate! I’ve been using a fin-market expert for two years now and I own a 7figure diversified portfolio from investing in stocks. Currently, my portfolio is worth over $900k.
@LeepinLeopard10 ай бұрын
How can I participate in this? I sincerely aspire to establish a secure financial future and am eager to participate. Who is the driving force behind your success?.
@wealthychronicle-i1u10 ай бұрын
Nicole Desiree Simon is the licensed fiduciary I use. Just research the name. You’d find necessary details to work with a correspondence to set up an appointment.
@LeepinLeopard10 ай бұрын
She appears to be well-educated and well-read. I ran an online search on her name and came across her website; thank you for sharing.
@RK-xe3tw Жыл бұрын
Actually you forgot to measure the expectancy of a trade in the case it has a precision of 42%. Because what makes a strategy profitable is bit the win rate but rather the expectancy of the trades. Although it is a great video and a good tutorial about programming. Thanks and keep up the good work.
@christopherreberger5450 Жыл бұрын
I suggest you google the semi strong efficient market hypothesis. Would save a lot of time.
@sungkim15897 ай бұрын
I did pip install yfinance in cmd. I run jupyiter, and import yfinance as yf. it does not work why?
@SakshiDwivedi-p8e5 ай бұрын
Can you fit this model for all stocks or just this one?
@Juoa794 Жыл бұрын
Isn’t there leakeage in the ‘trend’ feature, considering it is a function of future values (‘target’)?
@investidorcalejado8344 Жыл бұрын
is it possible to have a view of the daily basis, but also input training on intraday data to improve the daily view?
@saadbhai5998 Жыл бұрын
Hello! Why the column "Tomorrow" wasn't used for training? 🤔
@0821vijay Жыл бұрын
Do we have any latest updates to this model? Adding extended logic for improvements?
@logannon10 ай бұрын
Great video. Thank you for the insights. Going to be tuning into more of your work.
@saulbenavides40372 ай бұрын
Great tutorial dude!
@harunnmsanee5371 Жыл бұрын
Is there next project where you improved the accuracy of the model to a higher percentage
@sundsrik21542 ай бұрын
Very nice video and a great explanation . You didn’t mention finally how to get stock price predictions for tomorrow
@kkaabbccdd8080 Жыл бұрын
so how many people have been able to predict using this technique and what are the success and fail use cases ?
@roxy_badass4 ай бұрын
I love Dataquest learning method. Thanks for the video
@jacarthymack11112 жыл бұрын
How do you add additional columns that will display information from yahoo finance such as pe ratio dividens and so on
@govardhanab722311 ай бұрын
hello sir , can this be used for day trading , in indian market for options trading of bank nifty and nifty in a 5 minutes candle time frame during market hours and feeding real time data?
@DismusOtieno9 ай бұрын
mind displays an error the module yfinance not found
@koopstakh3012 жыл бұрын
These are great for practice Keep em coming
@Dataquestio2 жыл бұрын
Glad you like them, Prathamesh! -Vik
@dariabozhenko3903 Жыл бұрын
I get how we can predict for one day, but can we predict with this model for several days, or what the trend will be for the next week?
@wuyanchuАй бұрын
Thx and god bless , regards from Hong Kong 😃
@mda99das Жыл бұрын
How has the model done this year? Does it show a topping formation?
@aarthibhandary5120 Жыл бұрын
How can we add news/articles into the model?
@FunNHonesty Жыл бұрын
Why for preds[preds>=.6]=1 why not make it .51 or .501? Wouldn't that make it more accurate? 30:13 by the way. Thanks
@IndieRodrigues Жыл бұрын
Am getting error in the new prediction model Line 57 it's giving me error as "ValueError: No objects to concatenate." Can someone help on it?
@kayakablejourneys Жыл бұрын
Great video. It seems that the yfinance api is no longer functioning. Could you please do an updated video using a different method to collect the date? Thanks.
@rathanonsriwong24622 ай бұрын
Is he doing classification? (I wonder because most people do Regression) Thank you for your reply.
@gabbybiswas9634 Жыл бұрын
do u have a github code that can be executed on api's?
@mistletoe91 Жыл бұрын
Great, have you tried to improve the model ?
@Ghjjj-r5d9 ай бұрын
I request you to create a video considering Fundamental Analysis news integration prediction model as its happening behind the scenes to change the values. Its just a request if possible.
@MRDEWVOLTAGE Жыл бұрын
how can i expand... do you have more insructions?
@tharindumadusanka9727 Жыл бұрын
hey, please can anyone tell me, is this one classification model or regression model?
@puneetkumar263810 ай бұрын
AttributeError: 'RandomForestClassifier' object has no attribute 'predictors' I am getting this error while doing backtesting what is its solution
@rosekate965 Жыл бұрын
I need help to install yfinance package
@LifeByDiego Жыл бұрын
I’m trying to figure out which kind of career gets you working on these kind of predictions on a daily basis? I’m on the fence whether to go the BBA route and major in finance or to major in computer science. I know I’ll need both, but I’m unsure which area is more important. Does a financial analyst do this primarily or is it a data scientists job?
@alang.2054 Жыл бұрын
Pure math. Eventually physics. Companies like people who know how to think and have good problem solving skills that could be applied to anything. Also in math uni you learn a lot of programming these days
@sameerhussain2579 Жыл бұрын
A BS in Data Science, not CS or SE
@SmartTech-q1r Жыл бұрын
hi, I wonder how reliable would this be if I predicted the 10, 20, or more candles into the future with an accuracy of 75 to 90 percent. do you think its gonna be useful in the financial markets. since I did create features which predicts the prices with an accuracy of 85 percent.
@BaoTran-jo8lj Жыл бұрын
Thank you for your videos. But what if I have multiple stocks to predict, and when I parse one stock id in, I want to get the specific prediction for that id only. will it be feasible?
@chiroyce Жыл бұрын
DUDE THIS IS SO HELPFUL
@AVOWIRENEWS10 ай бұрын
Wow, the concept of predicting the stock market using machine learning and Python is such a fascinating topic! The blend of finance and technology is always an area ripe for innovative approaches. It's impressive how machine learning can analyze vast amounts of data to find patterns that might not be obvious at first glance. Python, with its extensive libraries and community support, is an excellent choice for such complex computations. It's exciting to think about how these tools can provide insights into market trends and possibly even predict future movements. The intersection of machine learning and finance is definitely a space to watch! 📈💡🤖
@susilpun659 Жыл бұрын
Anyone know how to get stock market data api for NEPSE? I'm a beginner at these things and I wanted to know if a feature like yfinance is available for NEPSE for python. Thanks.
@ritadrikchowdhury3713 Жыл бұрын
Showing error while running this part: predictions = backtest(sp500, model, predictors) Please help me out.....
@martinsteel9375 Жыл бұрын
I thought you couldn't use price as your ML target because there are so many factors contributing to it and you could only predict things like how an indicator would move tomorrow?
@tsrinivas24067 ай бұрын
This is very nice way to get started using data science with the markets. This gives a nice framework to get started. And attempt to expand the predictors (on RSI based or Change in Open Interest , some correlation with the major stocks composing that index) . Thank you for sharing.
@dapostop7384 Жыл бұрын
What is the definition of you can get pretty far? 51, 60, 70, 80, 90 % accuracy?
@bmariani52 Жыл бұрын
What are the Profits after trading every day compared to SPY performance as the benchmark.
@Maximus18.6 Жыл бұрын
Congratulations for your explanation and it was very clear. I would like to suggest you to prepare a vide including news about the stock into this model. Thanks
@ishitahumnabadkar78552 ай бұрын
I followed the steps religiously but my initial precision showed 0.65 and then at the end it showed 0.53 please help out
@Tradespirepodcast Жыл бұрын
If I'm running this code today, will I be able to see the prediction for tomorrow's in the target column as 1 ( if it's going up)? For some reason, I'm not able to see it on the table. Am I missing something ? can anyone guide? thnx