get_event_contract_bars
Fetches historical price bars for up to 8 event contracts of one event, enabling charting of implied probabilities over time.
Instructions
Get price-history bars for up to 8 event contracts of one event.
Prices and OHLC values are in dollars (0.00 to 1.00) for the side the symbol names — a ".N" symbol carries the NO prices — and equal the implied probability (multiply by 100 for cents / percent). Bars start at the first period with a price, so charts in one response can start at different timestamps: align them by timestamp, not by index. A symbol is left out of the response when it is unknown or has no price in the period.
This endpoint takes the charting identifiers, not the discovery ones that get_event_summary / get_event_details use.
Args: event_id: The "-EVENT" grouping id the contracts belong to, e.g. "KALSHI.KXBALANCESHEET-EO26-EVENT". The API rejects an id that is not an -EVENT id. period: DAY, WEEK, MONTH, or ALL. Measured back from now, or from the event's close time once it has stopped trading. symbols: 1 to 8 "-EVENTCONTRACT" symbols of that event, e.g. ["KALSHI.KXBALANCESHEET-EO26-6.6.Y-EVENTCONTRACT"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| symbols | Yes | ||
| event_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |