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!
@pythoninvest248028 күн бұрын
Thanks Nick! This is very rewarding to hear!
@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Ай бұрын
Colab that I use has earlier version of Python. You can create a virtual environment with 3.10 and use it?
@adityamathur2284Ай бұрын
@@pythoninvest2480 working on it😊, also the fix at 22:56 is not updated in the github repo.
@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Ай бұрын
Hi! The code is accessible via GitHub link in the video’s description
@vincentmorara2102Ай бұрын
Insigtful presentation
@phuongdo8269Ай бұрын
thanks for setting up the course, very interesting and insightful
@pythoninvest2480Ай бұрын
Glad you liked it!
@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Ай бұрын
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Ай бұрын
Usually rates are yearly, so you need to apply (1+fed rate)/365.0 rate daily
@ashwingadamАй бұрын
Can you please provide the websites for getting the data for Indian Stock market
@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Ай бұрын
thanks !!!!
@konutek7716Ай бұрын
Thanks for the meeting
@SM-yh4mj3 ай бұрын
Very helpful, thank you
@aarondelarosa31468 ай бұрын
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?
@pythoninvest24808 ай бұрын
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..
@aarondelarosa31468 ай бұрын
Absolutely. @@pythoninvest2480
@GreeneryandCrafts8 ай бұрын
Wow, great video! Thanks man
@nicolaslee57228 ай бұрын
you are a legend
@scottlery54219 ай бұрын
what am I getting the error message:" list index out of range" on the line that reads: sent_list = list(date_sentiments.values())[0]
@pythoninvest24808 ай бұрын
You need to check that the generated list from an array is not empty. News API might not returning any records for you
@scottlery54218 ай бұрын
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'"
@aarondelarosa314610 ай бұрын
Excellent.
@aarondelarosa314610 ай бұрын
Can you make a video on Black-Litterman Portfolio Optimization in Python?
@pythoninvest24808 ай бұрын
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
@aarondelarosa314610 ай бұрын
Excellent.
@Matthew-vt5dt11 ай бұрын
Great video
@mahboobalam3807 Жыл бұрын
Thanks very informative
@chriskeo392 Жыл бұрын
Can I pass in custom assets
@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 Жыл бұрын
Ver helpful...thank you
@FranciscoGonzalez-sr9bp2 жыл бұрын
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
@pythoninvest24802 жыл бұрын
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
@JSHD20102 жыл бұрын
Why don't you use an LSTM Neural network as one of your macro indicators?
@pythoninvest24802 жыл бұрын
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)
@edwinportal41252 жыл бұрын
thank you
@siuchac32402 жыл бұрын
Thank YOU! It's super helpful!
@zibdalogique86502 жыл бұрын
Hello - thanks for sharing, would you please share the python notebook
@pythoninvest24802 жыл бұрын
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
@datawithyassin1282 жыл бұрын
Very intersting topic, thank you so much, I'm working on the same project in my master's thesis.
@parnikabansal Жыл бұрын
How did your thesis work go?
@lucasgusmaoaraujo2 жыл бұрын
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
@hjsa25462 жыл бұрын
Very helpfull and interesting, thank you ! Nice job !!