Files
worldmonitor/shared/commodities.json
Elie Habib 4053a5119a feat(energy): surface coal and TTF gas spot prices in analyst context (#2715)
* feat(intelligence): surface coal and TTF gas spot prices in analyst context

- Add TTF=F (TTF Natural Gas) to scripts/shared/commodities.json after NG=F
- Add coalSpotPrice and gasSpotTtf fields to AnalystContext interface
- Add extractCommodityQuote and buildSpotCommodityLine helpers in chat-analyst-context.ts
- Derive coal (MTF=F) and TTF (TTF=F) from already-fetched commodities bootstrap, no extra Redis calls
- Gate on SPOT_ENERGY_DOMAINS (economic, geo, all)
- Register both fields in SOURCE_LABELS with CoalSpot/GasTTF labels
- Add coalSpotPrice and gasSpotTtf to DOMAIN_SECTIONS for geo and economic in chat-analyst-prompt.ts
- Push Coal Spot Price and TTF Gas Price sections into context when present

* fix(energy): use correct unit for Newcastle coal (/t not /MWh)

buildSpotCommodityLine hardcoded /MWh for all commodities. Coal is
priced per metric ton. Added denominator parameter with /MWh default,
pass /t for Newcastle coal.
2026-04-05 13:29:14 +04:00

38 lines
2.3 KiB
JSON

{
"commodities": [
{ "symbol": "^VIX", "name": "VIX", "display": "VIX" },
{ "symbol": "GC=F", "name": "Gold", "display": "GOLD" },
{ "symbol": "SI=F", "name": "Silver", "display": "SILVER" },
{ "symbol": "HG=F", "name": "Copper", "display": "COPPER" },
{ "symbol": "PL=F", "name": "Platinum", "display": "PLATINUM" },
{ "symbol": "PA=F", "name": "Palladium", "display": "PALLADIUM" },
{ "symbol": "ALI=F", "name": "Aluminum", "display": "ALUMINUM" },
{ "symbol": "CL=F", "name": "Crude Oil WTI", "display": "OIL" },
{ "symbol": "BZ=F", "name": "Brent Crude", "display": "BRENT" },
{ "symbol": "NG=F", "name": "Natural Gas", "display": "NATGAS" },
{ "symbol": "TTF=F", "name": "TTF Natural Gas", "display": "TTF GAS" },
{ "symbol": "RB=F", "name": "Gasoline RBOB", "display": "GASOLINE" },
{ "symbol": "HO=F", "name": "Heating Oil", "display": "HEATING OIL" },
{ "symbol": "URA", "name": "Uranium (Global X)", "display": "URANIUM" },
{ "symbol": "LIT", "name": "Lithium & Battery", "display": "LITHIUM" },
{ "symbol": "MTF=F", "name": "Newcastle Coal", "display": "COAL" },
{ "symbol": "ZW=F", "name": "Wheat", "display": "WHEAT" },
{ "symbol": "ZC=F", "name": "Corn", "display": "CORN" },
{ "symbol": "ZS=F", "name": "Soybeans", "display": "SOYBEANS" },
{ "symbol": "ZR=F", "name": "Rough Rice", "display": "RICE" },
{ "symbol": "KC=F", "name": "Coffee", "display": "COFFEE" },
{ "symbol": "SB=F", "name": "Sugar No. 11", "display": "SUGAR" },
{ "symbol": "CC=F", "name": "Cocoa", "display": "COCOA" },
{ "symbol": "CT=F", "name": "Cotton", "display": "COTTON" },
{ "symbol": "EURUSD=X", "name": "EUR/USD", "display": "EUR/USD" },
{ "symbol": "GBPUSD=X", "name": "GBP/USD", "display": "GBP/USD" },
{ "symbol": "USDJPY=X", "name": "USD/JPY", "display": "USD/JPY" },
{ "symbol": "USDCNY=X", "name": "USD/CNY", "display": "USD/CNY" },
{ "symbol": "USDINR=X", "name": "USD/INR", "display": "USD/INR" },
{ "symbol": "AUDUSD=X", "name": "AUD/USD", "display": "AUD/USD" },
{ "symbol": "USDCHF=X", "name": "USD/CHF", "display": "USD/CHF" },
{ "symbol": "USDCAD=X", "name": "USD/CAD", "display": "USD/CAD" },
{ "symbol": "USDTRY=X", "name": "USD/TRY", "display": "USD/TRY" }
]
}