Analyzing Stock Price Correlations in Python
HTML-код
- Опубликовано: 17 фев 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/ - Наука
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.
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.
@@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.
@@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.
@@helenoliver4838 how can I reach this person because I am in need of a better investment approach.
@@theresagarcia1218 Surf the web for her info its easier to get on her webpage.
Another amazing video!!! Thanks.
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.
Awesome work!!
Nice video as always!!
Thank you sir for always sharing
Incredible as a day trader learning to code doing stuff like this is really fun!
That was fun. Thank you
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.
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
I don't know why kivy Android apps are not working with Android 12....? Please help me...🙏🙏🙏🙏
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?
Thx_Nice.
Make web app using flask for stock market, like getting and storing data to database in flask webapp
Awesome! Thanks for introducing pandas_datareader. Do you know where (other lib or web) we can get additional features?
lit
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'
are u working as an python engineer ? what python engineer/developer do as a job ?
fiiiiiiiiiiirssssssssssssssssssssttttttttt (great vid btw)
❤️🤤
AAA+
Again, first comment 🌹🤝
Yeah this doesn't work at all....
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)
Thanks
#chat gpt if you want code that actually works..