Thank you – Python for Finance

Today I practiced Python for Finance on Sololearn! This time, I reviewed everything we have learned about analyzing data, from stock correlations and volatility to Sharpe ratios and Efficient Frontiers. Thank you for being with me throughout this series on Python for Finance!

Field Trip v2

Field Trip v2

My classmates and I, Timothy Amadi, had the chance to go to Norfolk, Virginia for a quick overnight. We got to tour the USS Wisconsin, Nauticus Museum, a Naval Cruise, Mount Trashmore, and Jamestown. We had a super fun time together on the beach Thursday evening and Friday morning. It was so cool to see the sunset and all the marvelous scenery that was around us when we were there.

Portfolio Optimization – Python for Finance

Today I practiced Python for Finance on Sololearn! This time I learned to optimize a portfolio. I allocated assets to get the maximum return and minimum risk. I ran a loop to calculate the returns, volatility, and Sharpe ratios for randomly generated portfolios. Finally, I plotted them in an Efficient Frontier to show the most efficient portfolio. Next time I will be reviewing everything we have learned!

Loops – Python for Finance

Today I practiced Python for Finance on Sololearn! This time I demonstrated loops in a Python program. I showed how to run a block of code multiple times with a for loop. I also showed how to run a loop a set amount of times with the range function. Next time I will be going over portfolio optimization!

Stock Correlations – Python for Finance

Today I practiced Python for Finance on Sololearn! This time I went over correlations, the degree to which two securities move in relation to each other. I showed how to calculate correlations with the corr() function and visualized them with the statmodels package. Next time I will be analyzing a portfolio by calculating metrics!

Bug Zero Icon

OUR NEWSLETTER