Skip liquidated entities in portfolio fetcher
Some checks are pending
CI / lint-and-test (push) Waiting to run
Some checks are pending
CI / lint-and-test (push) Waiting to run
Ranger was liquidated — no point fetching empty data every cron run. Also purged 1,647 pre-Apr-20 snapshot rows (incomplete NAV data from data collection ramp-up, not actual market movement). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b7242d2206
commit
4fc541c656
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ def load_ownership_coins():
|
|||
continue
|
||||
if fm.get("subtype") != "ownership-coin":
|
||||
continue
|
||||
if fm.get("status") == "liquidated":
|
||||
continue
|
||||
|
||||
chain = fm.get("chain") or {}
|
||||
if isinstance(chain, str):
|
||||
|
|
|
|||
Loading…
Reference in a new issue