Пікірлер
@nickgoupinets
@nickgoupinets Ай бұрын
Ivan, just wanted to say a huge thank you for all the work you put into this course. It's an unbelievable amount of information and an awesome way of getting started with the financial markets analytics for techies. Given a bit of ingenuity and looking carefully at the fundamentals combined with the power of predictive models is a sure way to beat the Wall street!
@pythoninvest2480
@pythoninvest2480 28 күн бұрын
Thanks Nick! This is very rewarding to hear!
@adityamathur2284
@adityamathur2284 Ай бұрын
I am using python 3.12 and till the time i am posting this comment, I cannot use pandas-datareader library, as the latest version on pypi still uses distutils as a dependency and this is a deprecated library in 3.12 any work arounds?
@pythoninvest2480
@pythoninvest2480 Ай бұрын
Colab that I use has earlier version of Python. You can create a virtual environment with 3.10 and use it?
@adityamathur2284
@adityamathur2284 Ай бұрын
@@pythoninvest2480 working on it😊, also the fix at 22:56 is not updated in the github repo.
@MohammadNaziruddin-su6jf
@MohammadNaziruddin-su6jf Ай бұрын
Hello: The github link to the code used in your video is broken and not working. Pl share the link to the code or send one to me. thanks
@pythoninvest2480
@pythoninvest2480 Ай бұрын
Hi! The code is accessible via GitHub link in the video’s description
@vincentmorara2102
@vincentmorara2102 Ай бұрын
Insigtful presentation
@phuongdo8269
@phuongdo8269 Ай бұрын
thanks for setting up the course, very interesting and insightful
@pythoninvest2480
@pythoninvest2480 Ай бұрын
Glad you liked it!
@nithishprabhu
@nithishprabhu Ай бұрын
can you clarify the meaning of overnight in the definition of federal fund rate? if the interest is 5-6%, how does it compound ?
@pythoninvest2480
@pythoninvest2480 Ай бұрын
I’m not an expert here, as I never borrowed money from Fed as a bank. But my understanding is that they can borrow/save funds daily overnight (what is left after the credit/saving activities for them). That’s why they can “price” all other activities around this rate (credit and saving rates for businesses and people). Compounding for fed rate (eg over a week) is just multiplication of daily rates - the usual formula , you just need to apply a new rate every day.
@pythoninvest2480
@pythoninvest2480 Ай бұрын
Usually rates are yearly, so you need to apply (1+fed rate)/365.0 rate daily
@ashwingadam
@ashwingadam Ай бұрын
Can you please provide the websites for getting the data for Indian Stock market
@pythoninvest2480
@pythoninvest2480 Ай бұрын
Yahoo Finance (discussed at the livestream) may be able cover some of the indexes/companies on NSE - you need to check it. I've tried this and it worked well: finance.yahoo.com/quote/EICHERMOT.NS/ . You can also try some of the apis/sources in this discussion: www.reddit.com/r/IndianStreetBets/comments/zuhovd/any_api_for_ohlc_data/ . Let us know what worked for you!
@gustavocastro3189
@gustavocastro3189 Ай бұрын
thanks !!!!
@konutek7716
@konutek7716 Ай бұрын
Thanks for the meeting
@SM-yh4mj
@SM-yh4mj 3 ай бұрын
Very helpful, thank you
@aarondelarosa3146
@aarondelarosa3146 8 ай бұрын
Hello. I'm trying to replicate your code, but something went wrong. There's an issue in your code: "weights_max_sharpe" is not defined. Can you fix it? Or How can I fix it?
@pythoninvest2480
@pythoninvest2480 8 ай бұрын
Hello! Did you run my Colab from the video description? At what line it shows that error? You can provide me a link to take a look..
@aarondelarosa3146
@aarondelarosa3146 8 ай бұрын
Absolutely. @@pythoninvest2480
@GreeneryandCrafts
@GreeneryandCrafts 8 ай бұрын
Wow, great video! Thanks man
@nicolaslee5722
@nicolaslee5722 8 ай бұрын
you are a legend
@scottlery5421
@scottlery5421 9 ай бұрын
what am I getting the error message:" list index out of range" on the line that reads: sent_list = list(date_sentiments.values())[0]
@pythoninvest2480
@pythoninvest2480 8 ай бұрын
You need to check that the generated list from an array is not empty. News API might not returning any records for you
@scottlery5421
@scottlery5421 8 ай бұрын
Ok, that error is now gone. Now I'm getting an error on this line: return_articles = get_articles_sentiments(keywrd = 'Tesla stock',startd = '17-Aug-2023',sources_list = None, show_all_articles = True) " KeyError: 'title'"
@aarondelarosa3146
@aarondelarosa3146 10 ай бұрын
Excellent.
@aarondelarosa3146
@aarondelarosa3146 10 ай бұрын
Can you make a video on Black-Litterman Portfolio Optimization in Python?
@pythoninvest2480
@pythoninvest2480 8 ай бұрын
We don’t use that method, but it’s available in Riskfolio-lib - the library we’ve used in the recent “All weather portfolio with crypto” article: pythoninvest.com/long-read/all-weather-portfolio-with-crypto
@aarondelarosa3146
@aarondelarosa3146 10 ай бұрын
Excellent.
@Matthew-vt5dt
@Matthew-vt5dt 11 ай бұрын
Great video
@mahboobalam3807
@mahboobalam3807 Жыл бұрын
Thanks very informative
@chriskeo392
@chriskeo392 Жыл бұрын
Can I pass in custom assets
@pythoninvest2480
@pythoninvest2480 Жыл бұрын
Yes, you just need to change the list of tickers to the stocks you're interested in and re-run the Colab (link in the video description). The Colab had an assumption of 2000 USD to invest and these stocks to optimise on: TICKERS =['PTR','BUD', 'XOM', 'BA','CHTR', 'SHOP', 'NVDA', 'NKE'] .
@stacykaranja2966
@stacykaranja2966 Жыл бұрын
Ver helpful...thank you
@FranciscoGonzalez-sr9bp
@FranciscoGonzalez-sr9bp 2 жыл бұрын
how can I fix this error when trying to save a dataframe efficiently? # learn how to save a dataframe efficiently macro_data_df.to_parquet('macro_df_small.parquet', compression='BROTLI') ArrowNotImplementedError: Support for codec 'brotli' not built
@pythoninvest2480
@pythoninvest2480 2 жыл бұрын
You can remove the parameter "compression='BROTLI'", or try other options ('snappy', 'gzip'). Check the official documentation: pandas.pydata.org/pandas-docs/version/1.1/reference/api/pandas.DataFrame.to_parquet.html
@JSHD2010
@JSHD2010 2 жыл бұрын
Why don't you use an LSTM Neural network as one of your macro indicators?
@pythoninvest2480
@pythoninvest2480 2 жыл бұрын
My point was to build the simplest possible network and to show the features importance, but you can improve it adding more parameters, layers, and/or changing to deep learning architecture (yes, LTSM should work well)
@edwinportal4125
@edwinportal4125 2 жыл бұрын
thank you
@siuchac3240
@siuchac3240 2 жыл бұрын
Thank YOU! It's super helpful!
@zibdalogique8650
@zibdalogique8650 2 жыл бұрын
Hello - thanks for sharing, would you please share the python notebook
@pythoninvest2480
@pythoninvest2480 2 жыл бұрын
Sure, I've just added it to the description: github.com/realmistic/PythonInvest-basic-fin-analysis/blob/master/yt_videos_colabs/PythonInvest_com_2_2_EveryDay_Sentiment_Analysis_of_Financial_News_.ipynb
@datawithyassin128
@datawithyassin128 2 жыл бұрын
Very intersting topic, thank you so much, I'm working on the same project in my master's thesis.
@parnikabansal
@parnikabansal Жыл бұрын
How did your thesis work go?
@lucasgusmaoaraujo
@lucasgusmaoaraujo 2 жыл бұрын
Very instructive !! Thank you so much for your time and effort. It means a lot for people like us. Keep up the great job!! Cheers
@hjsa2546
@hjsa2546 2 жыл бұрын
Very helpfull and interesting, thank you ! Nice job !!
@jhonatanroca7859
@jhonatanroca7859 2 жыл бұрын
Buen video!!! Thanks