get_gold_price_history
Get historical gold prices for any gold type over a number of days. Returns daily buy/sell prices and day-over-day changes using the gold code and optional days.
Instructions
Get historical gold prices for a specific gold type over a number of days. Returns daily buy/sell prices and day-over-day changes. Common codes: XAUUSD (World Gold), SJL1L10 (SJC 9999), DOJINHTV (DOJI Jewelry), PQHNVM (PNJ Hanoi), BT9999NTT (Bao Tin 9999).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Gold type code (e.g., 'XAUUSD', 'SJL1L10', 'DOJINHTV', 'PQHNVM', 'BT9999NTT', 'BTSJC', 'VNGSJC', 'VIETTINMSJC', 'PQHN24NTT', 'SJ9999', 'DOHNL', 'DOHCML') | |
| days | No | Number of days of history to retrieve (e.g., 7, 30, 90). Default: 30. |