get_gold_price
Fetch gold prices from SJC or BTMC sources. Specify a date for historical data or get today's price.
Instructions
Get gold price from stock market Args: date: str = None (if None, return today's price. Format: YYYY-MM-DD) source: Literal['SJC', 'BTMC'] = 'SJC' (source to get gold price) output_format: Literal['json', 'dataframe', 'toon'] = 'toon' (output format, 'toon' is optimized for AI) Returns: pd.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| source | No | SJC | |
| output_format | No | toon |