Skip to content

kite historical

Read historical candle data. Uses the numeric instrument token (from kite instruments search) — not the exchange-prefixed symbol.

Terminal window
kite historical <instrument-token> --interval <v> --from <DateTime> --to <DateTime> \
[--continuous] [--oi] --json --no-color
Argument / Flag Required Notes
<instrument-token> (positional) yes Numeric instrument token (e.g. 408065).
--interval <v> yes minute, 3minute, 5minute, 15minute, 30minute, 60minute (or hour), day, week, month.
--from <DateTime> yes 2026-01-01 or "2026-01-01 09:15:00" (quote the timestamp when it has spaces).
--to <DateTime> yes Same format.
--continuous no Continuous data for expired instruments. Use only when the operator asks for it.
--oi no Include open interest.
Terminal window
# Daily candles
kite historical 408065 --interval day --from 2026-01-01 --to 2026-01-02 --json --no-color
# Intraday 5-minute candles
kite historical 408065 --interval 5minute --from "2026-01-01 09:15:00" --to "2026-01-01 15:30:00" --json --no-color
# Include open interest
kite historical 408065 --interval day --from 2026-01-01 --to 2026-01-02 --oi --json --no-color