Modeling Your Stock Portfolio Performance with Python

Evaluate Your Trade Performance in 200 lines of Code

Matt Grierson
Towards Data Science
15 min readApr 13, 2020

--

Photo by Jamie Street on Unsplash

When I first began learning Python, one of my goals was to understand how to better evaluate the financial performance of my stock portfolio. I came across a great article by Kevin Boller where he used python to compare a portfolio against the S&P 500. I highly recommend spending a few…

--

--