Filter of Portfolio display based on selection of date

At the present moment, the portfolio section will display the current portfolio that user is having right now.
https://stocks.cafe/portfolio

Is there a way to display the portfolio table based on date selection. For example, user is able to select the date to 31 Dec 2023 or 31 Dec 2022 and the table will display the portfolio section based on the filter criteria.

I see. In theory, this is definitely doable. However, need to set up proper UI to handle and display it.

Thank you for looking into it.