From 4fc541c656690c870289daab708e36112782a602 Mon Sep 17 00:00:00 2001 From: m3taversal Date: Mon, 20 Apr 2026 18:55:04 +0100 Subject: [PATCH] Skip liquidated entities in portfolio fetcher MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- fetch_coins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch_coins.py b/fetch_coins.py index d07f357..db0b431 100644 --- a/fetch_coins.py +++ b/fetch_coins.py @@ -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):