kalshi_get_market_candlesticks
Fetch candlestick OHLC data for a specific Kalshi market. Specify series, ticker, time range, and interval (1, 60, 1440 minutes) to analyze price trends.
Instructions
Get Market Candlesticks Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day). Candlesticks for markets that settled before the historical cutoff are only available via GET /historical/markets/{ticker}/candlesticks. See Historical Data for details. Calls GET /series/{series_ticker}/markets/{ticker}/candlesticks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ts | Yes | End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time. | |
| ticker | Yes | Market ticker - unique identifier for the specific market | |
| start_ts | Yes | Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time. | |
| series_ticker | Yes | Series ticker - the series that contains the target market | |
| period_interval | Yes | Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day). | |
| include_latest_before_start | No | If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and `previous_price` to the close price from the real candlestick |