Analyzing Stock Price Correlations in Python

Sdílet
Vložit
  • čas přidán 17. 02. 2022
  • Today we learn how to analyze stock price movements in terms of correlations.
    DISCLAIMER: None of this is financial advice. This video focus on the programming aspects of the topic. I am not a financial professional.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
  • Věda a technologie

Komentáře • 35

  • @mayacho4910
    @mayacho4910 Před rokem +224

    We are already in a big crash Inflation is a catastrophe. This CPI report is a colossal failure. To bring the housing market to a halt, the FED will have to pull all the stops. The unfortunate issue is that other markets are being decimated. If you want to stay green, you have to rely on a lot of diversification. Currently up 14% and being careful. Still a better deal than leaving it in a savings or checking account yielding 0-1 percent interest.

    • @helenoliver4838
      @helenoliver4838 Před rokem

      Whichever firm you select, make sure you get your insurance from a reputable financial adviser, such as 'MARGARET ANN WARNKEN" who has dedicated her career to financial planning. Because they will assist you in escalating, navigating better, and completing the task in a safer manner.

    • @theresagarcia1218
      @theresagarcia1218 Před rokem

      @@helenoliver4838 I want to build a diversified portfolio based on my personal income. I am easily triggered/highly emotional, which could be detrimental to my portfolio. I hope I am a patient and systematic person. day trading is not for everyone and multiyear holding is not for everyone. I know my strengths that's why I need proper guidance to be able to venture.

    • @helenoliver4838
      @helenoliver4838 Před rokem

      @@theresagarcia1218 I have saved myself from all the hassle that chaotic market causes. These days the best way to come into the market space is by reading, studying, being patient, and seeking guidance when necessary, due to my line of work I can’t handle my portfolio so I just copy the trades of my FA. I saw her on Bloomberg business news. It’s been smooth since then.

    • @theresagarcia1218
      @theresagarcia1218 Před rokem

      @@helenoliver4838 how can I reach this person because I am in need of a better investment approach.

    • @helenoliver4838
      @helenoliver4838 Před rokem

      @@theresagarcia1218 Surf the web for her info its easier to get on her webpage.

  • @kapilsonyt
    @kapilsonyt Před 2 lety

    Another amazing video!!! Thanks.

  • @JJTradess
    @JJTradess Před 7 měsíci

    Incredible as a day trader learning to code doing stuff like this is really fun!

  • @pietraderdetective8953
    @pietraderdetective8953 Před 2 lety +1

    Your channel is amazing!
    Can you make a video about stock chart pattern recognition (just one of the popular chart patterns should be enough: triangle, double bottom, cup and handle, etc)?
    I've looked it up but couldn't find any.

  • @ali-om4uv
    @ali-om4uv Před 2 lety

    Nice video as always!!

  • @scottlee38
    @scottlee38 Před 2 lety

    Awesome work!!

  • @nic.trades
    @nic.trades Před rokem +1

    Your video and explanations are super clear. I am just starting in Python and was interesting in trying this out, but even if I copy the code line by line I am still getting issues with it. I have now spent 20 hours without being able to get anywhere smh.

  • @Plu3e
    @Plu3e Před 2 lety

    That was fun. Thank you

  • @Tech_Doctor788
    @Tech_Doctor788 Před 2 lety

    Thank you sir for always sharing

  • @shafiqusman2362
    @shafiqusman2362 Před 2 lety

    I am new in your channel, your videos are amazing and I will learn alot but
    please use Ctrl + keys to zoom in the code for better big screen

  • @sobhandeepgope
    @sobhandeepgope Před 2 lety +1

    I don't know why kivy Android apps are not working with Android 12....? Please help me...🙏🙏🙏🙏

  • @johnmartin2561
    @johnmartin2561 Před 6 měsíci

    I copied your code exactly and yet when I ran the code it gave traceback (most recent call last:) with the file name - "in data = web.DataReader(ticker, "yahoo", start, end). Why doesn't my code work when I typed it in exactly as you did?

  • @lzdps
    @lzdps Před 2 lety

    Awesome! Thanks for introducing pandas_datareader. Do you know where (other lib or web) we can get additional features?

  • @philtoa334
    @philtoa334 Před 2 lety

    Thx_Nice.

  • @hariprasad-zq2bp
    @hariprasad-zq2bp Před 2 lety

    Make web app using flask for stock market, like getting and storing data to database in flask webapp

  • @BirKatredeBenden
    @BirKatredeBenden Před 2 měsíci

    hello, yahoo is not working how can we solve this problem in line 14., data=web.DataReader(tickers,"yahoo",start,end)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'group'

  • @sudeepgowda8375
    @sudeepgowda8375 Před 2 lety

    lit

  • @cagataydemirbas7259
    @cagataydemirbas7259 Před 2 lety

    are u working as an python engineer ? what python engineer/developer do as a job ?

  • @sanspentester8506
    @sanspentester8506 Před 2 lety

    ❤️🤤

  • @1codetoonist695
    @1codetoonist695 Před 2 lety

    fiiiiiiiiiiirssssssssssssssssssssttttttttt (great vid btw)

  • @zedcandance
    @zedcandance Před 9 měsíci

    AAA+

  • @sanspentester8506
    @sanspentester8506 Před 2 lety

    Again, first comment 🌹🤝

  • @brandonbyrd8466
    @brandonbyrd8466 Před rokem

    Yeah this doesn't work at all....

  • @theanalystkr3255
    @theanalystkr3255 Před rokem +1

    could have just written it like this? # Set the date range
    start = dt.datetime(2018,1,1)
    end = dt.datetime.now()
    # Define the stock symbols
    tickers = ['FB', 'GS', 'NVDA']
    # Create an empty dataframe to store the data
    adj_close = pd.DataFrame()
    # Download the data for each stock symbol
    for ticker in tickers:
    data = yf.download(ticker, start=start, end=end)
    adj_close = adj_close.join(data['Adj Close'], rsuffix=ticker)
    # Rename the columns
    adj_close.columns = tickers
    # Save the data to an Excel file
    adj_close.to_excel('stock_data.xlsx', sheet_name='Stock Data', index=False)
    # Print the adj_close dataframe
    print(adj_close)

  • @brandonbyrd8466
    @brandonbyrd8466 Před rokem

    #chat gpt if you want code that actually works..