Milli.gold price history
mg_price_historyFetch daily, weekly, or monthly 18k gold price history from Milli.gold, including high, low, and change, to analyze short-term price trends.
Instructions
Get the Milli.gold 18k gold price series for a day, week or month, with high, low and change.
Prices are Rial per milligram: multiply by 100 for Toman per gram (260,000 Rial/mg = 26,000,000 Toman/g).
time is Tehran time. Points are thinned evenly to points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Window: DAILY = last ~24 h (15-min points), WEEKLY = last week, MONTHLY = last ~month. | DAILY |
| points | No | Max points to return, evenly spaced (2-50). |