get_historical_prices
Retrieve historical price data for an instrument using its contract code and session, choosing a period from one month to maximum.
Instructions
Get historical prices for an instrument.
Args: session: The session name (from list_sessions). contract_code: The instrument contract code, e.g. "EQU.ZA.SYGJP". period: One of "OneMonth", "ThreeMonths", "SixMonths", "OneYear", "Max".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | OneYear | |
| session | Yes | ||
| contract_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |