Build A Stock Prediction Web App In Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

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

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

    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

  • @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!

  • @mayacho4910
    @mayacho4910 ปีที่แล้ว +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 ปีที่แล้ว

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

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

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

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

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

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

      @@theresagarcia1218 'PRISCILLA DIANE AIVAZIAN"

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

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

  • @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 :)

  • @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.

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

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

  • @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)

  • @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

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

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

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

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

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

      Glad you found it :)

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

    Omg, amazing forecast!

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

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

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

      you're welcome :)

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

    this is mental bro i love the tutorial

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

    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!!!

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

    Thanks a lot! This tutorial was amazing!

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

    This is really awesome...Thanks for sharing.

  • @computerscience5820
    @computerscience5820 2 ปีที่แล้ว +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

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

    This was so so so good. You are awesome thank you so much.

  • @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

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

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

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

    Super cool, thanks a lot!

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

    Nice. From India. Thank You

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

    WOW... great video
    many thanks

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

      Glad you liked it!

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

    your channel minimum deserves 100k subs

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

      thanks so much!

  • @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!

  • @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.

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

    Thank you ! Got working on my Mac

  • @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

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

    Patrick thank you so much

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

    Great Content Keep up the good work ;)

  • @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

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

    Thanks. Good job 👍

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

    You are the best ;) keep going 💪

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

      Thanks, will do!

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

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

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

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

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

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

  • @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).

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

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

  • @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 :)

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

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

  • @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.

  • @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

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

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

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

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

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

    Very nice. Subbed.

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

    great video!

  • @Maximus18.6
    @Maximus18.6 7 หลายเดือนก่อน

    This content was excellent. Unfortunately you are working on IOS, which most of the time is very different to windows. I have problems installing prophet

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

    thank you so much

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

    thank u sir, keep going

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

    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

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

    thankyou so much u help me a lot

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

      glad to hear this!

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

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

  • @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

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

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

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

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

  • @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

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

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

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

      github.com/rabiahmad/prophet_stock_prediction

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

    hey man!
    you are awesome

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

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

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

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

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

    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?

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

    For forecasting which machine learning algorithm isused

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

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

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

    everything failed to pip install so i cannot follow along :(

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

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

  • @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

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

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

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

    is this a machine learning based project?

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

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

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

    which algorithm is used for forecasting?

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

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

  • @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)

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

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

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

    how I can forcast another stock other than mentioned stock

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

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

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

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

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

    Hello, I just discovered your channel and it's awesome. Please make tutorials with Computer Vision stuff or SLAM algorithms. ^_^

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

      Thanks for the idea!

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

    Which algorithm is used lstm or svm

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

    I am trying to this type of prediction in a website 🙏🙏 an elaborate reply would help very much...

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

    what ML algorithm you have used?

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

    Which algorithm you use to predict stock?

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

    is it using the real time data for prediciton??

  • @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

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

    They Yahoo finance don't work what is alternative 🤔

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

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

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

    Can someone explain the meaning of the last 3 components graphs

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

    Good day, What IDE are you using?

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

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

  • @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

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

    do you have project report of this project

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

    Where should I install modules

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

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

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

    Which version python did you used?

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

    how can i make this so the the whole nasdaq is on here?

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

    Can somebody explain me the forecast components graphs

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

    je n'arrive pas dinstaller la bibliothéque prophet!!!

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

    So sweet ☺️☺️

  • @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

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

    Is there any chance for something like that but for crypto?

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

      you can use the same for crypto. yfinance supports crypto as far a I know

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

      I wouldn't count on a python algorithm catching onto meme based market fluctuations too much tough...

    • @42sraf
      @42sraf 3 ปีที่แล้ว

      ​@@PWK95 For sure.No algorithm could predict random tweet by alon musk about doge or some company buying millions of btc. I thought about it as a fan project.