owrior / portfolio-analytics

Module for tracking portfolio performance.
MIT License
0 stars 0 forks source link

Update script failing due to duplicate values #34

Closed owrior closed 2 years ago

owrior commented 2 years ago

When running the update workflow some tickers data contain duplicate entries for some years preventing insert.

owrior commented 2 years ago

This was due to the the yf.download function providing empty values in the day before the specified start_date. To fix this a filter will be added after download.