Reading positions is the easy half — this one also places and cancels live orders, so the credential you connect can move real money. Everything a Kite session sees comes with it: the order book, day and net positions, the delivery portfolio, margins, live quotes and historical candles.
A server over Zerodha's Kite Connect API for Indian equity and derivatives trading. It places and cancels orders and reads back the order book, day and net positions, delivery holdings, margins, live quotes and historical candles. It is hosted rather than installed — credentials sit with the host and each tool is called over HTTP.
- Orders on NSE, BSE, NFO and MCX — market, limit and both stop-loss forms, with intraday, delivery and overnight product codes
- The order book with status, filled quantity and average price on every order
- Cancellation of a pending order by its ID, across every order variety Kite supports
- Day and net positions with profit and loss, and the delivery portfolio with average price against last price
- Live quotes for several instruments in one call, including volume and the day's circuit limits
- OHLCV candles over a date range, at intervals from a minute up to a full day
- The tradable instrument list, filterable by exchange — this is where instrument tokens come from
- Account margins for the equity and commodity segments, and the logged-in user's profile
- A readiness check that answers without credentials
A Zerodha account plus an app created in the Kite Connect developer console, which yields an API key and secret. The access token you actually trade with comes from a login flow and is valid for one trading day only, so anything left running needs a fresh login each morning. Calls are metered against the host account's request credits.
