opa_get_history
Retrieve historical price trends for any commodity like Brent Crude or WTI. Get high, low, average, and change over day, week, month, or year.
Instructions
Get historical price data for a commodity over a time period. Use when the user asks about price trends, historical prices, or how a commodity has performed over time. Returns high, low, average, change, and data point count. Periods: day (24h), week (7d), month (30d), year (365d).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodity | Yes | Commodity name or code (e.g., 'brent', 'WTI_USD') | |
| period | No | Time period: day, week, month, or year (default: month) | month |