wilsonleong / PortfolioAnalytics

Portfolio Analytics
11 stars 1 forks source link

Duplicated valuation due to multiple transactions in the same security on the same day #1

Closed wilsonleong closed 3 years ago

wilsonleong commented 3 years ago

When there are multiple transactions in the same security on the same day, the valuation is duplicated.

Solution: For each unique date and security, take the last row of the valuation with the final number of quantity of the security.