feat(gold): central-bank reserves via IMF IFS (PR C) (#3038)

* feat(gold): central-bank gold reserves via IMF IFS (PR C)

* fix(gold): prefer ounces indicator over USD in IMF IFS candidate list

* fix(gold): align seed-health interval with monthly IMF cadence + drop ALG dup

Review findings on PR #3038:
- api/seed-health.js: intervalMin was 1440 (1 day), which flags stale at
  2880min (48h) — contradicted health.js maxStaleMin=44640 (~31 days) and
  would false-alarm within 2 days on a monthly data source. Bumped to
  22320 so both endpoints agree at ~31 days.
- seed-gold-cb-reserves ISO3_NAMES: dropped duplicate ALG entry (World Bank
  variant); DZA is canonical ISO 3166-1 alpha-3 and stays.
This commit is contained in:
Elie Habib
2026-04-13 08:19:53 +04:00
committed by GitHub
parent 8cc8781b19
commit 0cdfddc885
12 changed files with 520 additions and 2 deletions

View File

@@ -1951,6 +1951,8 @@ components:
$ref: '#/components/schemas/GoldDriver'
etfFlows:
$ref: '#/components/schemas/GoldEtfFlows'
cbReserves:
$ref: '#/components/schemas/GoldCbReserves'
GoldCrossCurrencyPrice:
type: object
properties:
@@ -2085,3 +2087,46 @@ components:
items:
type: number
format: double
GoldCbReserves:
type: object
properties:
asOfMonth:
type: string
totalTonnes:
type: number
format: double
topHolders:
type: array
items:
$ref: '#/components/schemas/GoldCbHolder'
topBuyers12m:
type: array
items:
$ref: '#/components/schemas/GoldCbMover'
topSellers12m:
type: array
items:
$ref: '#/components/schemas/GoldCbMover'
GoldCbHolder:
type: object
properties:
iso3:
type: string
name:
type: string
tonnes:
type: number
format: double
pctOfReserves:
type: number
format: double
GoldCbMover:
type: object
properties:
iso3:
type: string
name:
type: string
deltaTonnes12m:
type: number
format: double