Analyzing Stock Price Correlations in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • 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...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
  • วิทยาศาสตร์และเทคโนโลยี

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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

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

    How to use Markowitz to build optimal portfolio?

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

    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?

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

    Thank you sir for always sharing

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

    Another amazing video!!! Thanks.

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

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

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

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

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

  • @hariprasad-zq2bp
    @hariprasad-zq2bp 2 ปีที่แล้ว

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

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

    Awesome work!!

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

    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'

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

    That was fun. Thank you

  • @ali-om4uv
    @ali-om4uv 2 ปีที่แล้ว

    Nice video as always!!

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

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

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

    Thx_Nice.

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

    lit

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

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

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

    AAA+

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

    ❤️🤤

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

    Again, first comment 🌹🤝

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

    fiiiiiiiiiiirssssssssssssssssssssttttttttt (great vid btw)

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

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