Price Comparison - open / closed postions

Currently the Price Comparison widget on the holding Summary page shows the average price for all positions including open positions.

It would be good if the average price changed pending if the “include closed positions” slider was enabled or not.

For example, I currently own a parcel of RMD which I opened in 2023. I had previously sold out of RMD in 2016 at prices far below the purchase price of 2023, therefor the average price currently including closed positions is wildly inaccurate.

It would be more accurate if the average price calculation was calculated based on the “include closed positions” slider.

Possibly a dupe of this: Average Purchase Price