Files
worldmonitor/shared/commodities.json
Elie Habib dd127447c0 refactor: consolidate duplicated market data lists into shared JSON configs (#1212)
Adding a new item (crypto, ETF, stablecoin, gulf symbol, etc.) previously
required editing 2-4 files because the same list was hardcoded independently
in seed scripts, RPC handlers, and frontend config. Following the proven
shared/crypto.json pattern, extract 6 new shared JSON configs so each list
has a single source of truth.

New shared configs:
- shared/stablecoins.json (ids + coinpaprika mappings)
- shared/etfs.json (BTC spot ETF tickers + issuers)
- shared/gulf.json (GCC indices, currencies, oil benchmarks)
- shared/sectors.json (sector ETF symbols + names)
- shared/commodities.json (VIX, gold, oil, gas, silver, copper)
- shared/stocks.json (market symbols + yahoo-only set)

All seed scripts, RPC handlers, and frontend config now import from
these shared JSON files instead of maintaining independent copies.
2026-03-07 22:00:55 +04:00

11 lines
411 B
JSON

{
"commodities": [
{ "symbol": "^VIX", "name": "VIX", "display": "VIX" },
{ "symbol": "GC=F", "name": "Gold", "display": "GOLD" },
{ "symbol": "CL=F", "name": "Crude Oil", "display": "OIL" },
{ "symbol": "NG=F", "name": "Natural Gas", "display": "NATGAS" },
{ "symbol": "SI=F", "name": "Silver", "display": "SILVER" },
{ "symbol": "HG=F", "name": "Copper", "display": "COPPER" }
]
}