Explore Data for Stocks and Associated Companies
Data about stocks and other financial instruments has been available in the Wolfram Language for more than 10 years.
With Version 12, there are now distinct entities available for stocks ("Financial" entities) and the companies they represent ("Company" entities).
For a given set of stocks, plot their cumulative returns against the S&P 500.
You can also look at detailed company fundamentals data for those same companies and visualize their gross, operating and net margins over time.