FX, Gold & Commodities
Full historical archive (1979–present) plus 4x-daily IRST intraday updates across 18 Iranian FX, gold, coin, coin-bubble, silver, and Brent crude benchmarks with multi-feed consensus reconciliation and same-source daily change normalization.
Upstream:
Iranian FX, Bullion & Global Commodity Feeds · Async aiohttp + msgspec · Multi-Feed Consensus · 4x Daily IRST CronTarget Instruments
18
Historical Bars Stored
89,729
Earliest Record
1979-12-26
Latest Sync Date
2026-12-04
Usage Examples
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_historical_ohlcv",
"arguments": {
"symbol": "USD",
"timeframe": "1d",
"limit": 30
}
}
}18 Reconciled FX, Gold, Coin & Oil Benchmarks
| Instrument | Group | Unit | Latest Price | Daily Change % | History Range | Stored Bars |
|---|---|---|---|---|---|---|
USD دلار آمریکا · US Dollar | FX | IRR | 3,032,000 | 0% | 2011-11-26 → 2026-12-04 | 5,374 |
EUR یورو · Euro | FX | IRR | 3,275,000 | -0.15% | 2012-06-28 → 2026-12-04 | 5,240 |
Emami1 سکه امامی · Emami Gold Coin | COINS | IRR | 2,690,000,000 | 0% | 2010-04-04 → 2026-12-04 | 5,714 |
GoldGeram18 طلای ۱۸ عیار · 18K Gold Gram | GOLD | IRR | 268,376,000 | +1.85% | 2013-07-22 → 2026-12-03 | 3,572 |
GoldOunce2USD انس جهانی طلا · Global Gold Ounce | GOLD | USD | 3,647.63 | -2.84% | 1979-12-26 → 2026-12-04 | 12,208 |
Azadi1 سکه بهار آزادی · Azadi Gold Coin | COINS | IRR | 2,610,000,000 | 0% | 2013-03-07 → 2026-12-04 | 5,021 |
COIN_BLUBBER حباب سکه بهار آزادی · Azadi Coin Bubble | COINS | IRR | 2,290,000 | -3.45% | 2019-01-05 → 2026-12-03 | 2,050 |
Emami1_BLUBBER حباب سکه امامی · Emami Coin Bubble | COINS | IRR | 77,410,000 | +2.44% | 2019-02-12 → 2026-12-03 | 2,021 |
GERAMI_BLUBBER حباب سکه گرمی · Gram Coin Bubble | COINS | IRR | 59,320,000 | -3.92% | 2019-02-12 → 2026-12-03 | 2,021 |
GeramiCoin سکه گرمی · Gram Gold Coin | COINS | IRR | 380,000,000 | 0% | 2013-03-07 → 2026-12-04 | 5,021 |
AED درهم امارات · UAE Dirham | FX | IRR | 825,500 | 0% | 2012-09-01 → 2026-12-04 | 5,197 |
CNY یوان چین · Chinese Yuan | FX | IRR | 455,000 | 0% | 2013-03-03 → 2026-12-04 | 5,025 |
TRY لیر ترکیه · Turkish Lira | FX | IRR | 59,450 | -0.25% | 2012-11-10 → 2026-12-04 | 5,138 |
GoldGeram24 طلای ۲۴ عیار · 24K Gold Gram | GOLD | IRR | 357,831,000 | +1.85% | 2014-05-02 → 2026-12-03 | 3,431 |
GoldMithqal مثقال طلا · Gold Mithqal | GOLD | IRR | 1,162,460,000 | +1.83% | 2013-07-22 → 2026-12-03 | 3,574 |
OIL_BRENT2USD نفت برنت · Brent Crude Oil | OIL | USD | 90.7819 | -2.22% | 2006-01-30 → 2026-12-04 | 5,820 |
SILVER_999 نقره ۹۹۹ · Silver 999 Gram | SILVER | IRR | 4,378,000 | 0% | 2020-10-31 → 2026-12-03 | 1,740 |
SilverOunce2USD انس جهانی نقره · Global Silver Ounce | SILVER | USD | 43.53 | -5.84% | 1982-07-01 → 2026-12-04 | 11,562 |
Sample Normalized Record Payload
{
"symbol": "USD",
"name_fa": "دلار آمریکا",
"name_en": "US Dollar",
"group": "FX",
"unit": "IRR",
"history_span": "2011-11-26 -> 2026-12-04",
"bars_count": 5374,
"latest_bars": [
{
"timestamp": "2026-12-04 11:30:00+00",
"open": 3032000,
"high": 3032000,
"low": 3032000,
"close": 3032000,
"change_percent": 0
},
{
"timestamp": "2026-12-03 11:30:00+00",
"open": 2940000,
"high": 2986250,
"low": 2940000,
"close": 2986250,
"change_percent": 1.06
},
{
"timestamp": "2026-12-02 11:30:00+00",
"open": 2950300,
"high": 2988000,
"low": 2950000,
"close": 2955000,
"change_percent": 0
},
{
"timestamp": "2026-12-01 11:30:00+00",
"open": 2950000,
"high": 2955105,
"low": 2950000,
"close": 2955105,
"change_percent": -0.3
},
{
"timestamp": "2026-11-30 11:30:00+00",
"open": 2997650,
"high": 3000000,
"low": 2950000,
"close": 2964000,
"change_percent": -1.47
}
]
}Upstream Endpoints & Datasets
| Dataset | Endpoint | Target |
|---|---|---|
Historical Daily OHLC Archive Daily OHLC series since 1979 across FX, gold, coins, silver, and Brent oil. | Primary Daily OHLC Feed | entities, market_snapshotsInitial full backfill + 4x daily 5d overlap |
Free-Market Cash FX & Coin Archive Historical cash FX/coin rates normalized to IRR and reconciled via consensus rules. | Multi-Year Cash FX & Coin Archive (2012–present) | market_snapshots (reconciled)Initial full backfill + current year |
Intraday Reference Quotes Free-market cash FX authority on wide divergence; same-source delta normalization. | 4x Daily Live Snapshot Feeds | market_snapshots, data/market_data_historical.{csv,sqlite3}4x daily (09:30, 13:00, 16:30, 20:00 IRST) |
Environment Variables
| Variable | Default | Purpose |
|---|---|---|
MACRO_RATES_SCHEDULE_HOURS | 09:30,13:00,16:30,20:00 | Four daily Asia/Tehran cron schedules executed by the collector daemon. |
MACRO_RATES_OVERLAP_DAYS | 5 | Trailing daily bars re-fetched per incremental run to capture finalized closes. |
MACRO_RATES_FORCE_REBUILD | false | Force complete historical rebuild from archive start instead of incremental overlap. |
MACRO_RATES_EXPORT_FILES | true | Maintain local CSV & SQLite3 exports alongside Postgres ingestion. |