Using ARIMA to Predict Bitcoin Prices in Python in 2023🔴

  Рет қаралды 41,603

Financial Programming with Ritvik, CFA

Financial Programming with Ritvik, CFA

Күн бұрын

Пікірлер: 291
@adrianjaoszewski2631
@adrianjaoszewski2631 2 жыл бұрын
The graph looks only so impressive because there are multiple models which only forecast one single value. The real deal is doing a relatively long forecast based on an ARIMA model. Twenty (or so) ARIMA Models each fitted on a subset of real data and forecasting only one step are exactly as useful as taking the last value and adding a random number to it.
@JarHen
@JarHen 3 жыл бұрын
I am happy there are people sharing passion with such preparation, congratulations on your great community support!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks :)
@antonismarinidis12
@antonismarinidis12 2 жыл бұрын
Really helpful tutorial. One question, when you try to predict future values that are not exist yet, what do you use at the part of actual_test_value = testing_set[i] training_set.append(actual_test_value)" because for the future we do not have "actual values". I used the model_predictions[i] as appending to the training_set (which actually the training_set is the actual whole data) and I get a straight line as a result at my graph which is not that good. any solutions? thank you in advance.
@dandeaton3601
@dandeaton3601 2 жыл бұрын
Same here … 😢
@junaidseedat7852
@junaidseedat7852 Жыл бұрын
same here...
@razimoosa7028
@razimoosa7028 Жыл бұрын
You might be getting a straight line because the model is predicting the price based on the same input features. Maybe for e.g. "you added input feature /actual value '200' to the data, the model will predict the price e.g. '250', now for next future day the input appended is same i.e. actual value '200' and hence model predicts again '250'. With this logic the model keeps on predicting '250' and you get a straight line as output. I believe you need to check the input features you're appending to the data set.
@SakshamGunj
@SakshamGunj Жыл бұрын
bro he is misguiding that's why he didn't replied to this comment.
@nangkhanh2546
@nangkhanh2546 Жыл бұрын
When running for loop, you add test data to training data and you run ARIMA model then the result absolutely great. However, it just like tell the computer learn by heart the data and tell it show the test data again
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks for the valuable feedback
@sagarpadhiyar3666
@sagarpadhiyar3666 2 жыл бұрын
Hey Ritvik, you haven't checked the stationarity and seasonality of the data or it is not necessary for price prediction? You have done prediction for test data. How do predictions for unseen data or future data? Do we have to run for loop for combined trained and test data for making predictions of unseen data?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Yes, Very good point. I didn't mention it as it might make the video more lengthy and confusing for beginners. But Yes, we will do all the relevant tests before performing the model in a real world analysis.
@narrrrdy
@narrrrdy 2 жыл бұрын
Very simple explanation to understand the application of ARIMA model. You da best.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks :)
@BiffBifford
@BiffBifford 3 жыл бұрын
Ritvik, I wish you all the best for you and your family in the coming year and express my gratitude for your hard work and highly educational videos. Thank you from Rainy California, and best wishes!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks a ton
@69nukeee
@69nukeee Жыл бұрын
Pretty good video! Thanks for sharing :)
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks for watching!
@optimalsolutionprogramming1299
@optimalsolutionprogramming1299 Жыл бұрын
Very helpful video! Thank you for posting.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
You're very welcome!
@ibfaka1726
@ibfaka1726 3 жыл бұрын
Thanks once again for yet another captivating financial programming video. This is a video every crypto trader should watch to equip himself for financial gains.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Much appreciated!
@arunasrancevas6095
@arunasrancevas6095 2 жыл бұрын
If I iunderstand correctly the code makes a prediction for time already passed?? How can it make prediction for the future? Thanks, sir
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
We need to incorporate more things in the model to make it for the real world
@arunasrancevas6095
@arunasrancevas6095 2 жыл бұрын
@@FinancialProgrammingwithRitvik I don't remember, does it predict one day into the future or not yet?
@Gio-ug3ye
@Gio-ug3ye 3 жыл бұрын
Subscribed! Thanks for the video :)
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks for the sub!
@yes-yogaearthstories1404
@yes-yogaearthstories1404 3 жыл бұрын
Ritvik, Great Work! :))) I had ARIMA during my BSc but obviously we never saw a computer so now i cna catch up.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
I am glad :)
@pisanchungchamroenkit7694
@pisanchungchamroenkit7694 3 жыл бұрын
Thank you Ritvik, easy to understand and very useful!!!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Glad it was helpful!
@kevinlefebvre9838
@kevinlefebvre9838 Жыл бұрын
thank you for this great content. i am studying for CMT and this is very helpful, thanks!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
My pleasure :)
@dianimogadishu1348
@dianimogadishu1348 3 жыл бұрын
Great Channel. This is the channel I was looking for.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
I am glad to know that :)
@gatti_
@gatti_ 3 жыл бұрын
Nice work my friend!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thank you! Cheers!
@TheConconw
@TheConconw 2 жыл бұрын
Great vid! very helpful
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks :)
@mrvindictive2940
@mrvindictive2940 2 жыл бұрын
how do you increase the length of the model prediction so you are able to predict the price for the next day?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
We would need daily data and then run the model.
@UZAIROfficial
@UZAIROfficial 2 жыл бұрын
@@FinancialProgrammingwithRitvik Can you tell me how I can extend this for next 10 days
@steknadel
@steknadel 3 жыл бұрын
Great Video, keep up the good work!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks, will do!
@hamzapaskingakhtar
@hamzapaskingakhtar 2 ай бұрын
Okay I am confused with one thing. We split data into train and test. Shouldn't we test the trained 90% on the final 10% not from the start?
@thefourluckyones889
@thefourluckyones889 2 жыл бұрын
how can i increase the lenght o the model prediction? like a prediction of a week instead of a day
@harigovindp6061
@harigovindp6061 2 жыл бұрын
Loved the way you explained. It was really Helpful
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks :)
@moto.argentina
@moto.argentina Жыл бұрын
I did everything as in the video but I have an error in yhat = list(output[0])[0] --> 'numpy.float64' object is not iterable
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
It's difficult to understand the query here. I recommend you to get the google drive access and copy and paste my code and check line by line where is the mistake.
@moto.argentina
@moto.argentina Жыл бұрын
@@FinancialProgrammingwithRitvik After many hours I was able to solve the error in this way yhat = output[0]
@carlolattanzi7878
@carlolattanzi7878 3 жыл бұрын
This is great! Thanks for your knowledge share! ;)
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
My pleasure.
@thecomparefactory4601
@thecomparefactory4601 3 жыл бұрын
Great work buddy
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@williamneri4299
@williamneri4299 3 жыл бұрын
Excellent topic I wish there was a similar video with Oil prices prediction using stock RSI or CCI indicators! Best of luck for this year
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Noted! Thanks for the suggestion.
@flyhighdp
@flyhighdp 2 жыл бұрын
What is the use of lagged future prediction?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
I understand. It's just for the educational purpose.
@aashajawaharlal4855
@aashajawaharlal4855 3 жыл бұрын
Great work!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thank you! Cheers!
@somebodynobody2979
@somebodynobody2979 Жыл бұрын
Great video, thanks Ritvik
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
It's my pleasure :)
@BhumikaBhandari-x8x
@BhumikaBhandari-x8x Жыл бұрын
Which model is the best for time series predication? Is it LSTM, ARIMA or Prophet?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
It depends on the instrument we are predicting. Cryptos like Bitcoin will have a complete different answer than Bonds.
@gracesmith7726
@gracesmith7726 3 жыл бұрын
good explanation, thanks! waiting from one month... and video is delivered today keep it up ritvit
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Glad you liked it! Pardon for your wait. I will be more consistent from now on :)
@m.shiqofilla4246
@m.shiqofilla4246 2 жыл бұрын
Sir thanks for the explanation, wanna ask one thing, can you plot the prediction of the stock price of the next 30 days? I mean not prediction in the test set, i want the prediction of the stock of the new days (next 30 days), is that possible to do? Thank you please answer it sir....
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Will try
@vsanden
@vsanden 3 жыл бұрын
Thank you Ritvik, i liked the video a lot and found it usefull!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks for the appreciation :)
@sarthakhajirnis1908
@sarthakhajirnis1908 3 жыл бұрын
You are doing such an amazing job. Waiting for your next videos eagerly! Thanks a lot.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thank you so much 😀
@bhupathireddy1663
@bhupathireddy1663 Жыл бұрын
is the data from yfinance reliable ? and if there are any other libraries like yfinance please do suggest.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Yes, pricing data is reliable as per my past experience, however, if you want to explore more financial data providers API, then I have made an entire playlist on it. Just check it out and you will see how much data is available in the market for free.
@akshitrana8446
@akshitrana8446 3 жыл бұрын
great content ! found your yt channel very useful
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Glad you think so!
@YensyCiprianS
@YensyCiprianS 2 жыл бұрын
Is there any way to use this forecasting to analyze huge data and predict 5 or 15 min movements in a certain day? and if so, how can I do it, just to learn and compare with real market
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Prediction is possible, yet we would need to work on reliability on it. We can use the same model or any AI based models for the prediction.
@bhupathireddy1663
@bhupathireddy1663 Жыл бұрын
I am getting the predictions as a straight line no matter what values I take for p, d, q. Is it because of the stationarity of the data?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Yes, we need to work on all biases before finalizing the code for real world applications such as Multicollinearity, Stationarity, heteroscedasticity, etc.
@AGhosh-sb8lf
@AGhosh-sb8lf Жыл бұрын
I can't understand the part where you have append the training data in the function with actual_test_value and how I can predict future price i.e. price after 1 week with this approach?
@mohammadkhan5387
@mohammadkhan5387 Жыл бұрын
with this arima model can we implement it into other asset classes? Of course, changing the Arima model or would this code automatically choose the best-fit Arima model for stock X?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Yes, it can be used for any tradable securities, however, it is just a basic model and might have some limitations. Please do thorough research before putting real money on it.
@mohammadkhan5387
@mohammadkhan5387 Жыл бұрын
@@FinancialProgrammingwithRitvik thanks for the reply much appreciated. I am a new follower of your KZbin account and I have seen many channels and I can say that you have some high quality content. I am a trader and currently doing my masters in finance from RMIT university Australia. But just learnt basic coding at uni with R studios. I can see you have a python course so if I take that course would I be able to make a model myself like the one you made like how advance is it what I mean to ask ? Thanks Mohammad khan
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
@@mohammadkhan5387 Thanks for your interest in my work. Yes, in that course you will learn to make the models on your own. In fact, sessions 4 and 5 are just about exploring some projects and how to optimize/automate them using Python. I guarantee you won't regret your decision to enrol for the course: fpritvik.com/python
@dwaipayansinha7697
@dwaipayansinha7697 2 жыл бұрын
Great, Thank you!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
My pleasure :)
@aasthaarora9879
@aasthaarora9879 3 жыл бұрын
Great video , thanks for sharing knowledge
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
My pleasure
@vedanksingh6073
@vedanksingh6073 2 жыл бұрын
Is it a 1 day ahead prediction or what? Means the prediction is of what time spam?
@visunashokkumar1782
@visunashokkumar1782 2 жыл бұрын
I would like to ask you sir how did your model account for the seasonality ?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Yes, Very good point. I didn't mention it as it might make the video more lengthy and confusing for beginners. But Yes, we will do all the relevant tests before performing the model in a real world analysis.
@omaraziz1299
@omaraziz1299 Жыл бұрын
seasonality in a time series = non-stationary data .... i think that is why he used differencing
@mercykingori5661
@mercykingori5661 3 жыл бұрын
Excellent topic learned alot.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
I am glad.
@burstingblahblah2313
@burstingblahblah2313 3 жыл бұрын
Cant wait to see the effect after params become optimized!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Yes, I am excited too :D
@aboudiallo5852
@aboudiallo5852 2 жыл бұрын
How to add the forcatested valeus at the same fugure with the actual values?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
You mean the same dataframe?
@aboudiallo5852
@aboudiallo5852 2 жыл бұрын
@@FinancialProgrammingwithRitvik yeah
@machan2k6
@machan2k6 3 жыл бұрын
Good work Ritvik. your videos and codes are really helpful
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks :)
@Vilas1972
@Vilas1972 3 жыл бұрын
thanks! learn so much
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
I am glad to know that :)
@oussamaaouini5489
@oussamaaouini5489 2 жыл бұрын
Your video is amazing
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks :)
@jeremyheath862
@jeremyheath862 3 жыл бұрын
Thanks for all your videos. They are very helpful. Keep up the great work, Ritvik!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Sure... My pleasure
@Uddu29200
@Uddu29200 Жыл бұрын
Iam getting an error near the model predictions [:-1] can u help me ?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
What's the error?
@dandeaton3601
@dandeaton3601 2 жыл бұрын
Amazing thank you so much! I notice that stats model has recently changed ARIMA, does it mean any code changes are required? I also couldn't work out how to amend the code to handle an MA value of > 0. I get error messages about convergence ...
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
I would need to check it.
@dandeaton3601
@dandeaton3601 2 жыл бұрын
@@FinancialProgrammingwithRitvik I got it working ! But then began to wonder how useful my “creation” was in the real world … I.e I couldn’t forecast out multiple time intervals into the unknown as I wouldn’t be able to re-informing the training dataset each time :(
@carters6138
@carters6138 3 жыл бұрын
Merry Christmas ❤️buddy
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Same to you :)
@MarioGiordano0
@MarioGiordano0 3 жыл бұрын
Fantastic job, i hope in some new contents soon!!!!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Very soon!
@iealpha-cqachallenge2897
@iealpha-cqachallenge2897 3 жыл бұрын
Nicely explained
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@rensbq7080
@rensbq7080 10 ай бұрын
on the print results part i never get ARIMA Results why?
@34boy97
@34boy97 Жыл бұрын
I did a prediction of BTC and I got of mape of 0.18 did I made any mistake ?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Difficult to say. MAPE may varying significantly depending on the time period.
@harikishorep7850
@harikishorep7850 3 жыл бұрын
Keep up the great work. Thanks for the video.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@suryadesings4486
@suryadesings4486 3 жыл бұрын
All the codes are soo easy to understand and execute
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks for the appreciation :)
@MrJuanazio
@MrJuanazio 3 жыл бұрын
Very interesting and complete explanation
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks for the appreciation :)
@jiahuizhou6521
@jiahuizhou6521 3 жыл бұрын
GOOd!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
haha, thanks :)
@dipakapate
@dipakapate 3 жыл бұрын
Ritvik sir. It's fantastic video. I am learning so much from you. I have developed my first intra day algo using python.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
My pleasure.
@SairamEslavath-k1m
@SairamEslavath-k1m Жыл бұрын
hello ritvik, can we able to take multiple columns to feed it
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Yes, we can train the model with multiple features as well.
@saadashraf1293
@saadashraf1293 Жыл бұрын
The prices till 2022 are already known, How can i use 100% of the data as training data and predict the future values??? Here we are prediciting already known values. How to predicit future values?
@andregab6671
@andregab6671 3 жыл бұрын
thank you very much ritvik for your content that you bring to the channel and above all for the niche based on the markets and also for the clear and detailed explanations in the videos
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@pranitchand
@pranitchand Жыл бұрын
This is a good approach and I really enjoyed following it, however I am curious how would you account for non-stationary data in the forecast?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Good question! I will make more videos covering nonstationarities.
@mohammadkhan5387
@mohammadkhan5387 Жыл бұрын
@@FinancialProgrammingwithRitvik i think you would convert that data into stationary then?
@urvashiarya8811
@urvashiarya8811 Жыл бұрын
hlo Sir goodevening I have been working on Nifty bank prediction using ARIMA in python since jan '23 . being from Commerce background everything seems a little bit difficult but i really want to do this . Now I am stuck at a point where I am getting straight line predictions . I don't know what to do . I have tried everything but all in vain. Please suggest me what to do next
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
It happens with everyone. Try some other model apart from ARIMA. You may like my fpProphet. I have made a video it that as well.
@BenMoussaFayssal
@BenMoussaFayssal 9 ай бұрын
Great video
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 9 ай бұрын
Thanks :)
@daxitsoni9524
@daxitsoni9524 2 жыл бұрын
Why you didn't check stationarity of the data ?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Yes, Very good point. I didn't mention it as it might make the video more lengthy and confusing for beginners. But Yes, we will do all the relevant tests before performing the model in a real world analysis.
@camstuart
@camstuart 2 жыл бұрын
Great video, I was happy to subscribe! I did find that when running the statsmodel package suggests to change the import to: "from statsmodels.tsa.arima.model import ARIMA" (so arima.model instead of arima_model) but this causes some errors with the line 'yhat = list(output[0])[0]' when training. Do you mind having a look?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
I will check it out and thanks for the sub
@matejmak9225
@matejmak9225 2 жыл бұрын
@@FinancialProgrammingwithRitvik Hello sir I have the same problem is there any solution for that ? Thank you for answear and excellent video :)
@巴塔-z5q
@巴塔-z5q 3 жыл бұрын
Genius
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Thanks :)
@arunsandesh9503
@arunsandesh9503 3 жыл бұрын
Very well explained Sir. Thank you
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@rameenaali
@rameenaali 3 жыл бұрын
Hi,Nice video.I would like to know more theoretical aspects of ARIMA.Please do a video if possible. Also can you do video on how to do CNN based prediction?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Noted.
@ganpatipatil7551
@ganpatipatil7551 Жыл бұрын
Yes we want to see vedio on the ARIMA 👍
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik Жыл бұрын
Noted!
@laughtoutclips
@laughtoutclips 3 жыл бұрын
hello can u make a option trading simulator for Indian stock.. (Nifty50)
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Will try soon.
@leojulie8330
@leojulie8330 3 жыл бұрын
Thank you for providing all this useful content !
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
My pleasure.
@ajays1031
@ajays1031 2 жыл бұрын
It is predicted future price or historical price ?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Yes, it's predicting future prices. I have shown it on historical data
@shivamkashyap1877
@shivamkashyap1877 6 ай бұрын
sir please upload videos for data how to used from different platform or others
@alokprasad8935
@alokprasad8935 3 ай бұрын
sir can rply in comment that how to see the future prediction with date and apply to different ticker
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 ай бұрын
Price prediction is not that straightforward. Please do consider more models for price prediction.
@varunkuntal9175
@varunkuntal9175 2 жыл бұрын
Thanks a lot for really helpful tutorial! I have a doubt as why are you training ARIMA model in a for loop for every iteration of test data. So if you are building a rolling model, it should be rather done every time new data point arrives, we can do train test split and train ARIMA model once instead of doing it for every iteration of test data.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
I agree
@himeshkoli8607
@himeshkoli8607 2 жыл бұрын
I have some doubts 1) Dont we need to check if our data is stationary or not? 2) And after if its not stationary we have to take differencing right 3) And if at all it comes stationary we need to feed that value in plot acf and plot pacf to see our MA and AR values i.e p and q values 4) Then we can come to conclusion of our p and q numbers right and then feed them to ARIMA model?? So how did you land those 4,0,1 numbers, they cant be random Please correct/guide me if Im missing something I mean im confused is this video centered for bitcoin users or those guys who wants to know how that code is working?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
No, you are correct. We would need to follow all the steps exactly as you mentioned in the real world analysis. I made the video just to show how we can use ARIMA model. Yes 4,0,1 should not be random. I appreciate your detailed comment :)
@himeshkoli8607
@himeshkoli8607 2 жыл бұрын
@@FinancialProgrammingwithRitvik thank you for clearing... I mean you can also make a detailed video regarding the points I mentioned, people will appreciate it, and also its nice to see different perspectives over a problem.. Have a great day
@ajinkyaadhotre5336
@ajinkyaadhotre5336 Жыл бұрын
The same thought came to my mind why ain't he making the series stationary 😅
@omaraziz1299
@omaraziz1299 Жыл бұрын
it is good to check if data is stationary but with time series of financial instruments, the data is almost always non-stationary, especially as we expand the time period.
@aishworyann4928
@aishworyann4928 2 жыл бұрын
sir i am facing an issue while running that numpy.float64 object is not iterable in yhat = list(output[0])[0] could you please give me a solution to this
@aishworyann4928
@aishworyann4928 2 жыл бұрын
also i am using streamlit so can you please help me out sir in this
@majidtaghizadeh
@majidtaghizadeh 3 жыл бұрын
Ritvik You made my day - thank you
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
I am glad to know that :)
@dicloniusN35
@dicloniusN35 2 жыл бұрын
what about Stationarity ? AIC tooo big, i think better to do auto_arima before, for choosing params
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Yes, Very good point. I didn't mention it as it might make the video more lengthy and confusing for beginners. But Yes, we will do all the relevant tests before performing the model in a real world analysis.
@kgadrin844
@kgadrin844 3 жыл бұрын
Thank you for your content!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
My pleasure.
@omaraziz1299
@omaraziz1299 Жыл бұрын
Great video man, really appreciate it. One question though, how do I predict the value for the next trading day?
@alexandr8153
@alexandr8153 3 жыл бұрын
Thanks for your video. Is there any way to get your code from your videos?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
You can get a free access of my google drive. Over there, this code is save along with many other codes + study material.
@Iyode
@Iyode 3 жыл бұрын
Thanks for sharing !
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
My pleasure!
@jedidiahdanley1605
@jedidiahdanley1605 3 жыл бұрын
love your coding style
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@ahmadlakunle9607
@ahmadlakunle9607 2 жыл бұрын
Thanks so much sir, this is straight forward Just a question please, what if I’m trying to pass multiple crypto asset instead of just bitcoin. Say 10 different assets how do i call it using yfinance?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
We need to write a for loop for that and store the data when it comes.
@ahmadlakunle9607
@ahmadlakunle9607 2 жыл бұрын
@@FinancialProgrammingwithRitvik example?
@senthilarumugam4913
@senthilarumugam4913 3 жыл бұрын
Good prediction analysis!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thank you so much for your appreciation :)
@VPAT37
@VPAT37 3 жыл бұрын
Thanks Ritvik for sharing. Great tutorials
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Thanks for watching!
@yavuz4837
@yavuz4837 5 ай бұрын
I always thought that predicting stocks or krypto currencies' prices using time series was impossible because there are a lot of variables that we can not control or teach the model. it will never be perfect and I think every true prediction of stocks or krypto currencies values is a one time only fortune. it is luck I mean. there are too many variables that we can't control and it is impossible to get the prediction right all the time. am I wrong ritvik?
@harshitanath9705
@harshitanath9705 2 жыл бұрын
Why we have chosen the order of ARIMA =(4,1,0)?
@ajinkyaadhotre5336
@ajinkyaadhotre5336 Жыл бұрын
Its a random choice
@aapriyanka8323
@aapriyanka8323 Жыл бұрын
Hello sir. Thank you for your video. Excellent job. Could you please provide me the code to forecast future one year values. Please help me for my thesis
@emilycherkassky3507
@emilycherkassky3507 3 жыл бұрын
Thanks!
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
Welcome!
@antwanmingo257
@antwanmingo257 3 жыл бұрын
Ritvik, your videos are very easy to follow and extremely informational.
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 2 жыл бұрын
Glad you like them!
@alexandr8153
@alexandr8153 3 жыл бұрын
Is the code from your videos avaliable for downloading somewhere?
@FinancialProgrammingwithRitvik
@FinancialProgrammingwithRitvik 3 жыл бұрын
You can get a free access of my google drive. Over there, this code is save along with many other codes + study material.
LSTM Top Mistake In Price Movement Predictions For Trading
9:48
CodeTrading
Рет қаралды 108 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
How to build ARIMA models in Python for time series forecasting
20:38
Lianne and Justin
Рет қаралды 93 М.
Predicting Stock Prices and Making $$$ Using the ARMA Model
9:57
181 - Multivariate time series forecasting using LSTM
22:40
DigitalSreeni
Рет қаралды 291 М.
GPT: KAMA Scalping Strategy in Python Makes 795%
21:00
Algo-trading with Saleh
Рет қаралды 30 М.
Time Series Forecasting with XGBoost - Advanced Methods
22:02
Rob Mulla
Рет қаралды 135 М.
Demand Forecasting For Stores - AI Project in Python
28:38
NeuralNine
Рет қаралды 7 М.
I Gave My Terrible Trading Bot $10,000 to Trade Stocks
16:05
Coding with Lewis
Рет қаралды 544 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН