I am trying to object to the average number of days I had a portfolio stock. I need help in developing some function or code that allows me to get that information.
<