mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-14 11:06:21 +02:00
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.
34 lines
1.8 KiB
JSON
34 lines
1.8 KiB
JSON
{
|
|
"symbols": [
|
|
{ "symbol": "^GSPC", "name": "S&P 500", "display": "SPX" },
|
|
{ "symbol": "^DJI", "name": "Dow Jones", "display": "DOW" },
|
|
{ "symbol": "^IXIC", "name": "NASDAQ", "display": "NDX" },
|
|
{ "symbol": "AAPL", "name": "Apple", "display": "AAPL" },
|
|
{ "symbol": "MSFT", "name": "Microsoft", "display": "MSFT" },
|
|
{ "symbol": "NVDA", "name": "NVIDIA", "display": "NVDA" },
|
|
{ "symbol": "GOOGL", "name": "Alphabet", "display": "GOOGL" },
|
|
{ "symbol": "AMZN", "name": "Amazon", "display": "AMZN" },
|
|
{ "symbol": "META", "name": "Meta", "display": "META" },
|
|
{ "symbol": "BRK-B", "name": "Berkshire", "display": "BRK.B" },
|
|
{ "symbol": "TSM", "name": "TSMC", "display": "TSM" },
|
|
{ "symbol": "LLY", "name": "Eli Lilly", "display": "LLY" },
|
|
{ "symbol": "TSLA", "name": "Tesla", "display": "TSLA" },
|
|
{ "symbol": "AVGO", "name": "Broadcom", "display": "AVGO" },
|
|
{ "symbol": "WMT", "name": "Walmart", "display": "WMT" },
|
|
{ "symbol": "JPM", "name": "JPMorgan", "display": "JPM" },
|
|
{ "symbol": "V", "name": "Visa", "display": "V" },
|
|
{ "symbol": "UNH", "name": "UnitedHealth", "display": "UNH" },
|
|
{ "symbol": "NVO", "name": "Novo Nordisk", "display": "NVO" },
|
|
{ "symbol": "XOM", "name": "Exxon", "display": "XOM" },
|
|
{ "symbol": "MA", "name": "Mastercard", "display": "MA" },
|
|
{ "symbol": "ORCL", "name": "Oracle", "display": "ORCL" },
|
|
{ "symbol": "PG", "name": "P&G", "display": "PG" },
|
|
{ "symbol": "COST", "name": "Costco", "display": "COST" },
|
|
{ "symbol": "JNJ", "name": "J&J", "display": "JNJ" },
|
|
{ "symbol": "HD", "name": "Home Depot", "display": "HD" },
|
|
{ "symbol": "NFLX", "name": "Netflix", "display": "NFLX" },
|
|
{ "symbol": "BAC", "name": "BofA", "display": "BAC" }
|
|
],
|
|
"yahooOnly": ["^GSPC", "^DJI", "^IXIC"]
|
|
}
|