Is there a shared function available somewhere that accepts a stock ticker symbol with two dates, web-scrapes historical prices, intervening dividend and capital gain distributions from Yahoo Finance and returns an internal rate of return, assuming the security was bought on date1 and sold on date2?