fix(assets): reactivate merge targets that FMP reports as trading #91
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gertjan/bodega!91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/reactivate-merge-target"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The rename backfill exposed a dead-series failure mode: a merge target
that had earlier been deactivated for staleness (its bars were stranded
under the old symbol) stayed inactive after the merge, so batch EOD
ingest dropped its rows under BOTH symbols and the series silently died
(e.g. ECHO/EchoStar: no bars since 2026-06-29 despite actively trading;
12 of 17 inactive merge targets affected in production).
The merge path now checks an inactive target's FMP profile and marks it
active when isActivelyTrading is set; genuinely dead listings (profile
missing or not trading) stay inactive. Idempotent — re-running the
backfill repairs the already-merged pairs.
Adds AssetRepository.mark_active as the symmetric twin of mark_inactive.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com