Task 02h: FFIC trade-history backfill (Phases 1+2)#8
Merged
Conversation
…dexer_failed, 8 ok Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ntity, timeout+retry
…ected Fixes applied: - subgraph: chunk wallet upsert at 10K rows (PostgreSQL 32767 param limit) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… enriched, 3 blockers identified Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1+2 of FFIC trade-history backfill. Recovered 446,512 trades across 10 previously-empty FFIC markets, raising FFIC trade coverage from 8/24 to 18/24 markets.
Phase 1 — Diagnostics
Diagnosed 24 FFIC markets across never_run, ran_returned_zero, ran_indexer_failed, partial categories. Report: reports/TASK_02H_FFIC_DIAGNOSTICS.md.
Phase 2 — Subgraph backfill
10/10 markets succeeded. Recovery includes:
Report: reports/TASK_02H_PHASE2_RESULTS.md.
Bug fixes
Out of scope
6 ran_indexer_failed markets remain — 4 fficd-001 election markets ($153M-$1.5B) and 2 fficd-003 top markets ($174M, $269M). Phase 3 will recover the 2 fficd-003 markets via Polygonscan logs API. Election markets deferred to future revision.
Files
After merge
Branch stays open for Phase 3 (Polygonscan logs API for fficd-003 indexer-failed markets). Phase 3 will be appended to this branch and PR.
🤖 Generated with Claude Code