Build A Stock Prediction Web App In Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 253

  • @patloeber
    @patloeber  3 ปีที่แล้ว +21

    NOTE: Some have trouble installing this on Windows because of pystan: Follow the official docs (facebook.github.io/prophet/docs/installation.html) which shows how to install it for Windows and Linux. Or a simpler way would be to use anaconda and then: conda install -c conda-forge prophet.

    • @gaylonalfano
      @gaylonalfano 3 ปีที่แล้ว +14

      For those that do not want to use conda:
      1. pip install pystan==2.19.1.1
      2. pip install fbprophet
      This should allow you to successfully install fbprophet and follow along. The issue lies with pystan 3+ that has some breaking changes. Hope this helps!

    • @navdissenyo7371
      @navdissenyo7371 3 ปีที่แล้ว +4

      @@gaylonalfano I try this, but getting error

    • @waylonbradley1345
      @waylonbradley1345 3 ปีที่แล้ว

      I know Im kind of randomly asking but does anyone know of a good place to stream newly released series online ?

    • @pine6568
      @pine6568 3 ปีที่แล้ว +1

      @@gaylonalfano I tried it but I'm still getting error on fbprophet is there any other solution other than conda and pystan?

    • @dreamvillage9108
      @dreamvillage9108 3 ปีที่แล้ว +1

      @@pine6568 Try anaconda

  • @mayacho4910
    @mayacho4910 2 ปีที่แล้ว +173

    One of the best content I’ve seen. stock is the best though I don’t self trade but I still make my profit with the help of my broker till I'm sure I can start of self trading

    • @theresagarcia1218
      @theresagarcia1218 2 ปีที่แล้ว

      I'm looking forward to investing in the stock market. I am still trying to figure out how the entire thing works

    • @mayacho4910
      @mayacho4910 2 ปีที่แล้ว

      @@theresagarcia1218 Obviously trading in stock is very volatile and risky, that's the reason most investors trade with a professional broker.

    • @mayacho4910
      @mayacho4910 2 ปีที่แล้ว

      @@theresagarcia1218 I would recommend my personal broker/trader, she can help you get started, just look with her name online.

    • @mayacho4910
      @mayacho4910 2 ปีที่แล้ว

      @@theresagarcia1218 'PRISCILLA DIANE AIVAZIAN"

    • @theresagarcia1218
      @theresagarcia1218 2 ปีที่แล้ว

      @@mayacho4910 Thank you for this, i will be sure to look her up, hopefully she can help me get started.

  • @Nedwin
    @Nedwin 3 ปีที่แล้ว +7

    I am a Python enthusiast and I can say that this tutorial is awesome! ❤️

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Awesome, thank you!

  • @k2icc
    @k2icc 2 ปีที่แล้ว +1

    One of the best I have seen. Encountered some problems, but was able to fix them. Thanks for the video.

  • @ambujmittal6824
    @ambujmittal6824 3 ปีที่แล้ว +11

    I am a simple guy. I get a notification from this channel, I hit like.

    • @patloeber
      @patloeber  3 ปีที่แล้ว +4

      You are the best :)

  • @veergoyal3423
    @veergoyal3423 2 ปีที่แล้ว

    ONE OF THE WORLD BEST AND EASIEST TUTORIAL ALL LOVE FROM MY SIDE

  • @bendev6807
    @bendev6807 3 ปีที่แล้ว +3

    Really great tutorials, and this one help me discover new libraries that I wasn't aware of. Thanks a lot :)

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Great to hear!

  • @mechwar1583
    @mechwar1583 2 ปีที่แล้ว +1

    Thank you very much, I am a beginner and I was trying to plot the closing value and the opening value on a chart , and then I saw your video and it was exactly what I was looking for.

  • @jassskalkat
    @jassskalkat 3 ปีที่แล้ว +1

    this is mental bro i love the tutorial

  • @rxi99
    @rxi99 ปีที่แล้ว

    You're a life saver, thank you so much for this tutorial

  • @masonlee8573
    @masonlee8573 2 ปีที่แล้ว

    This is a great tutorial. Thank you!

  • @devwalia165
    @devwalia165 3 ปีที่แล้ว +1

    man love this video it's so useful I have t=get to learn about stramlit so easily and how to use other libraries hatsoff

  • @yamitanomura
    @yamitanomura 10 หลายเดือนก่อน

    Omg, amazing forecast!

  • @hassanalshekha1994
    @hassanalshekha1994 2 ปีที่แล้ว

    This is really awesome...Thanks for sharing.

  • @deenabandhu2482
    @deenabandhu2482 3 ปีที่แล้ว

    your channel minimum deserves 100k subs

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      thanks so much!

  • @cindy8533
    @cindy8533 3 ปีที่แล้ว +1

    I just wanna say. Thank you. Thank you so much💕

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      you're welcome :)

  • @newcooldiscoveries5711
    @newcooldiscoveries5711 2 ปีที่แล้ว

    Hi, I just wanted to take a moment to thank you for your awesome and useful tutorials here on TH-cam with people watching and learning from all over the globe. You are an unsung hero. By the way, the link above, when clicked, throws an error with the extra character at the end: html)

  • @rademilijasevic4313
    @rademilijasevic4313 10 หลายเดือนก่อน

    Super cool, thanks a lot!

  • @jllopezz
    @jllopezz 3 ปีที่แล้ว

    Thank you ! Got working on my Mac

  • @programmerrdai
    @programmerrdai 3 ปีที่แล้ว

    Great Content Keep up the good work ;)

  • @kavalisuresh8670
    @kavalisuresh8670 3 ปีที่แล้ว

    Nice. From India. Thank You

  • @siumhossain-
    @siumhossain- 3 ปีที่แล้ว

    Explanation way just mind blowing 🌊....Find this channel from data professor .😍

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Glad you found it :)

  • @minanabil1035
    @minanabil1035 3 ปีที่แล้ว

    WOW... great video
    many thanks

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Glad you liked it!

  • @fantasyworld7536
    @fantasyworld7536 2 ปีที่แล้ว +1

    Hello, how I can host this type of projects like the above project you made on hostinger or any other platform.

  • @dreamvillage9108
    @dreamvillage9108 3 ปีที่แล้ว +1

    Great video! Can you please tell me how to do when the market open only Monday to Friday? Thank you very much!

  • @simonebenzi4189
    @simonebenzi4189 8 หลายเดือนก่อน

    Awesome!! Could you do some addictional videos of this type? Maybe integrating some ML outputs with streamlit, e.g. XGBoost for energy consumption predition or classification, thank you!!!

  • @mohitpande2006
    @mohitpande2006 3 ปีที่แล้ว

    Patrick thank you so much

  • @Dhirendrakumar-fe3nn
    @Dhirendrakumar-fe3nn 2 ปีที่แล้ว +1

    I have an issue streamlit show (no module named 'fbprophet')
    Please respond

  • @list1726
    @list1726 ปีที่แล้ว

    Thanks. Good job 👍

  • @computerscience5820
    @computerscience5820 3 ปีที่แล้ว +1

    getting error on installing prophet
    i install pystan and then tried
    pip install prophet
    also tried
    pip install fbprophet
    but getting error
    :DLL load failed
    :Failed building wheel for prophet

  • @shreyashwaghmare1189
    @shreyashwaghmare1189 2 ปีที่แล้ว +1

    which python version to use for current streamlit module and fbprophet?

  • @himanshiesway3280
    @himanshiesway3280 ปีที่แล้ว

    hey man!
    you are awesome

  • @vbarai
    @vbarai 3 ปีที่แล้ว +1

    Hi, How can we build real-time graph display using python. Data could be from kafka or elasticsearch like source?

  • @jcatlantis
    @jcatlantis 3 ปีที่แล้ว

    You are the best ;) keep going 💪

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      Thanks, will do!

  • @sunritjana4573
    @sunritjana4573 3 ปีที่แล้ว +1

    Loved this video, it was awesome! And Which VSCode theme and font do you use?

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Night Owl Theme

  • @chromaticfrog7407
    @chromaticfrog7407 3 ปีที่แล้ว

    Very nice. Subbed.

  • @XxXGennXxX
    @XxXGennXxX 3 ปีที่แล้ว

    Hi, i'm getting this date format "2021-10-01T00:00:00+02:00" on streamlit but on my terminal i get "2021-09-27" , how can i get what i see on my terminal in streamlit?

  • @saharshsaxena
    @saharshsaxena 7 หลายเดือนก่อน

    great video!

  • @keertimahajan9922
    @keertimahajan9922 2 ปีที่แล้ว

    For forecasting which machine learning algorithm isused

  • @bandai2
    @bandai2 ปีที่แล้ว

    As today you can also install prophet as "pip install prophet" if you have problems installing the packages

  • @mikeparenteau6902
    @mikeparenteau6902 9 หลายเดือนก่อน

    Any way to adjust the forecast component graphs if you set streamlit to "wide" mode?

  • @dandan934
    @dandan934 2 ปีที่แล้ว

    I use windows, to install the needed packs would I just use the console? (Beginner)

  • @reizkijihan9106
    @reizkijihan9106 3 ปีที่แล้ว

    thankyou so much u help me a lot

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      glad to hear this!

  • @ajay0425
    @ajay0425 2 ปีที่แล้ว

    how to get predictions of next 100 days.
    i just cmplted this project n i'm so impressed by the predictions , im curious about future predictions

  • @alanpauljaxon9054
    @alanpauljaxon9054 3 ปีที่แล้ว +1

    Hi I am trying to build my skills in analytics. I didn't understand what is venv, how to run things in it etc.

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      it's a virtual environment in Python

  • @openmindjustdoit1306
    @openmindjustdoit1306 ปีที่แล้ว

    thanks for this video i try it work fine but when i work next year the chart not up or down just like line how i can benfit this applaction and can read from csv file or excel file

  • @TheAmazingpower
    @TheAmazingpower 3 ปีที่แล้ว +1

    Is there a benefit using plotly graph objects over plotly express here? I like the express API a lot more (classic passing of df and just calling column names on variables, like ggplot or other libs handle input for plots).

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      I think both are fine :)

  • @jairjuliocc
    @jairjuliocc 3 ปีที่แล้ว +1

    Thank you for your work . It was very easy to follow . Is possible embed this app in a existing web page?

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Glad you like it! Unfortunately it is not trivial to integrate streamlit into e.g. Flask or some other framework because it's already using its own web server internally (which is tornado).

  • @tshiamoselemogwe4234
    @tshiamoselemogwe4234 ปีที่แล้ว

    Good day, What IDE are you using?

  • @Rabixter
    @Rabixter 2 ปีที่แล้ว

    Very nice and clear tutorial. Thank you for the video.

    • @Rabixter
      @Rabixter 2 ปีที่แล้ว

      github.com/rabiahmad/prophet_stock_prediction

  • @Tomiwahimself
    @Tomiwahimself 2 ปีที่แล้ว

    Hello I know this is almost a year after you have made this video but I need to know what machine learning algorithm you used in this video and thanks for letting me about streamlit never heard of it till this video and its awesome

    • @Gayatri8105
      @Gayatri8105 2 ปีที่แล้ว

      Which algorithm is used

  • @mikesean1990
    @mikesean1990 2 ปีที่แล้ว +1

    25:18

  • @kaviyatheerthagiri5332
    @kaviyatheerthagiri5332 2 ปีที่แล้ว

    Which algorithm you use to predict stock?

  • @Abhi-jz4cp
    @Abhi-jz4cp ปีที่แล้ว

    which algorithm is used for forecasting?

  • @aryanagarwal9184
    @aryanagarwal9184 5 หลายเดือนก่อน

    In this is it possible to choose from any stocks intead of the designated one by the user himeslf

  • @ChetangiriSDalawai
    @ChetangiriSDalawai 13 วันที่ผ่านมา

    I am not getting Date Column and graph is not displaying

  • @Dark_LordX17
    @Dark_LordX17 ปีที่แล้ว

    Will this be accepted as a mini project if i use this?

  • @khenafhichem256
    @khenafhichem256 3 ปีที่แล้ว

    thank u sir, keep going

  • @himanshiesway3280
    @himanshiesway3280 8 หลายเดือนก่อน

    what ML algorithm you have used?

  • @saiwilatt4636
    @saiwilatt4636 ปีที่แล้ว

    is it using the real time data for prediciton??

  • @eduardogamboa7209
    @eduardogamboa7209 2 ปีที่แล้ว

    Hi I know these is an old video but just wondering if you can maybe update it sinse the yfinance API seems to be closed and the code doesn't work. Love your work and thanks in advance

  • @nithinv1284
    @nithinv1284 3 ปีที่แล้ว

    Can we upload a csv with the tickers in it and create a drop down

  • @sudhanyogi2560
    @sudhanyogi2560 2 ปีที่แล้ว

    Which version python did you used?

  • @keertimahajan9922
    @keertimahajan9922 2 ปีที่แล้ว

    Can u show me how to cluster stocks sectorwise plz share video

  • @peterodesola5056
    @peterodesola5056 2 ปีที่แล้ว

    thank you so much

  • @aravindts5040
    @aravindts5040 3 ปีที่แล้ว

    While executing getting an attribute error "AttributeError: 'function' object has no attribute 'tail'" on line, st.write(data.tail()). Can't able to sort it out.

  • @rajat_1825
    @rajat_1825 3 ปีที่แล้ว

    AttributeError: 'Prophet' object has no attribute 'stan_backend'
    how to fix this

  • @Gayatri8105
    @Gayatri8105 2 ปีที่แล้ว

    Which algorithm is used lstm or svm

  • @rishabpurba3268
    @rishabpurba3268 6 หลายเดือนก่อน

    is this a machine learning based project?

  • @bluddybloopers8595
    @bluddybloopers8595 2 ปีที่แล้ว

    Is this prediction based machine learning??????

  • @harshavardhanmudiam5533
    @harshavardhanmudiam5533 2 ปีที่แล้ว

    is there anyway to use this on windows, because ive been trying for a while and nothing is working

  • @mannosemannose9273
    @mannosemannose9273 ปีที่แล้ว

    How could this error be resolved? :
    ValueError: Column ds has timezone specified, which is not supported. Remove timezone.
    Traceback:

  • @mohamedelbialy4291
    @mohamedelbialy4291 3 ปีที่แล้ว

    can i upload excel file or csv file instead of load data from yahoo finance

  • @wasss3745
    @wasss3745 2 ปีที่แล้ว

    It can integrate to a web based application? Im a beginner sir, Thankyou if there is anyone will answer my question

  • @carelanthony4668
    @carelanthony4668 3 ปีที่แล้ว

    i have a trouble in yfinance module, there is any solution?

  • @kingsleymbonu8370
    @kingsleymbonu8370 3 ปีที่แล้ว

    Nice video I'm using spyder IDE but after running the code I cannot find the local host to the browser to see what have written for example localhost: 8051.Is there anyway i can make it work

  • @sigma10188
    @sigma10188 ปีที่แล้ว

    how I can forcast another stock other than mentioned stock

  • @pranshusaini2645
    @pranshusaini2645 ปีที่แล้ว

    I'm not able to import anything at all
    The libraries pyarrow, fbprophet at all.
    any Ideas How can I fix them

  • @karthikb.s.k.4486
    @karthikb.s.k.4486 3 ปีที่แล้ว

    Hi what is the vscode theme that you are using it looks beautiful please let me know

  • @benonyegilson9129
    @benonyegilson9129 2 ปีที่แล้ว

    Everything after the Raw data chart doesn't appear on the screen what did i do wrong?

  • @paulocarneiro4947
    @paulocarneiro4947 ปีที่แล้ว

    Hello Patrick, thanks for this amazing tutorial!
    Please help me solving the following:
    - my Raw Data table doesn't show figures; and
    - line 27 "data = load_data(selected_stock) is displaying error on selected_stock, when I change to "selected_stock" the error disapears.
    Cheers! Paulo

  • @enhjargal5895
    @enhjargal5895 ปีที่แล้ว

    Where should I install modules

  • @saud5133
    @saud5133 2 ปีที่แล้ว

    Hello...
    How to Read a Binary File Like Metastock Files Using Python

  • @Abhinavsingh_ai
    @Abhinavsingh_ai ปีที่แล้ว

    what is the accuracy of this model ??

  • @_abhishekhonparkhe_
    @_abhishekhonparkhe_ 2 ปีที่แล้ว

    Can somebody explain me the forecast components graphs

  • @gerardpuche
    @gerardpuche ปีที่แล้ว

    what IDE is that? (Xcode?)

  • @mohammadmayar5544
    @mohammadmayar5544 ปีที่แล้ว

    They Yahoo finance don't work what is alternative 🤔

  • @ganeshpaste385
    @ganeshpaste385 8 หลายเดือนก่อน

    do you have project report of this project

  • @herammbb
    @herammbb ปีที่แล้ว

    Can someone explain the meaning of the last 3 components graphs

  • @dilendranishadhi97
    @dilendranishadhi97 3 ปีที่แล้ว

    sir why do you recommend to build this in a virtual environment?

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      I always recommend to use a virtual env for different projects, so you keep your installed site packages organized

    • @dilendranishadhi97
      @dilendranishadhi97 3 ปีที่แล้ว

      @@patloeber oh thank you :)

  • @viane123456
    @viane123456 3 ปีที่แล้ว

    is it possible to do for Indian exchanges? NSE and BSE?

    • @rseditography7534
      @rseditography7534 2 ปีที่แล้ว

      Yes, India stock name (.NS) add .ns in end

  • @yosolonopuedo
    @yosolonopuedo 3 ปีที่แล้ว +1

    Loved the video! One question though, why do you always use plotly and never use Bokeh for example? Just curious.

    • @patloeber
      @patloeber  3 ปีที่แล้ว +1

      Because both Streamlit and fbprophet support plotly out of the box

    • @yosolonopuedo
      @yosolonopuedo 3 ปีที่แล้ว

      @@patloeber I understand. How complicated is using Bokeh? (Sorry for asking so much)

  • @yashaspradeep7073
    @yashaspradeep7073 3 ปีที่แล้ว

    Can i upload this as an html file to run on a website so i can show this is a personal project? and if so can you make a video on how to do that

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      yeah you can deploy streamlit on e.g. Heroku

  • @mrshot2273
    @mrshot2273 2 ปีที่แล้ว

    I need create home page , sign in and sign up for please help me

  • @rickymartin7568
    @rickymartin7568 3 ปีที่แล้ว

    23:53

  • @nashwaanalikhan
    @nashwaanalikhan 3 ปีที่แล้ว

    Hello Sir I am watching your Intermediate Python Tutorial. I am trying to make my way into Artificial Intelligence using Python, do you recommend anything (also I am just learning through TH-cam and other websites only)?

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      that's cool! I recommend my ML from scratch series and Andrew Ng's Machine Learning course

    • @damianwysokinski3285
      @damianwysokinski3285 3 ปีที่แล้ว

      You can have a look at deep learn8ng specialization of Andrew Ng too

  • @AcademyOmen
    @AcademyOmen 3 ปีที่แล้ว

    So sweet ☺️☺️

  • @vireaksok4213
    @vireaksok4213 2 ปีที่แล้ว

    I want to get rid of the light blue shadow in Forecast graph, does anyone here know how to do it?

  • @jianguili8203
    @jianguili8203 ปีที่แล้ว

    Stupid question from me. How code when i type code . it just returns zsh Command not found: Code :(

    • @richardhoppe4991
      @richardhoppe4991 10 หลายเดือนก่อน

      code . is just a command to launch vscode from your terminal. You might not have it installed

  • @mussaalamri10
    @mussaalamri10 3 ปีที่แล้ว

    |I really dont understand where and how you run streamlit. can you please help? i am using jupyter and windows 10

    • @patloeber
      @patloeber  3 ปีที่แล้ว

      you have to create a python script and then run the command from the terminal