Calculating Cost Yield for individual stock

Hello,

Is there a function to calculate cost yield for a stock from a certain period of time? (YoY)

  1. You can choose to display Cost Yield for your Current Portfolio -> https://stocks.cafe/user/toupdateportfoliopreferences

  2. You can also choose to see the Yield given a specific price (Check out price simulate at the bottom) -> https://stocks.cafe/stock/summary/D05/dbs+group+holdings+ltd?exchange=XSES