Price History
price.historyReturn historical observations for an instrument code (up to 500 points). Use after price.latest when you need a short time series for the same code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Instrument code from catalog.list. Example: CL, GC, ZC. | |
| limit | No | Number of historical points to return. Max 500, default 60. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Historical observations, newest first or as stored | |
| count | Yes | Number of points returned | |
| series_id | Yes | Underlying series id | |
| instrument | Yes | Instrument code |