Data and settings
Connecting Zerodha
Set up Kite Connect for history, a live feed and the research tools.
Before you start
You need a Kite Connect app with a market-data subscription, created at developers.kite.trade. Note its API key and API secret, and set the app's redirect URL to exactly:
http://127.0.0.1:47821The app shows this address with a copy button next to the login button.
Setting up
- Open Data providers → Zerodha, enter the API key and secret and press Save.
- Press Log in with Zerodha and sign in on the page that opens. The app receives Zerodha's reply itself and stores the access token — there is nothing to copy.
- Zerodha switches on and downloads its instrument list. Test connection confirms everything works.
- Optionally press Make default, so typing
RELIANCEopensNSE:RELIANCE.
Daily login
Zerodha's access tokens expire every morning at around 06:00 IST. Each day's first session needs a fresh login — one button and a few seconds. The dialog shows roughly how long today's token has left, and charts tell you when it has expired.
You can log in from three places:
- Data providers → Zerodha.
- The Zerodha row at the top of the Home tab, which also shows how long today's login has left (or Set up Zerodha before your API key is saved).
- The Log in to Zerodha window that appears when you open the app after your login has expired. It appears once per launch — Not now dismisses it until next time — and never if you have not logged in before or have switched Zerodha off.
If your Kite app must redirect elsewhere, use Paste the address instead in Data providers (the Home tab's Other ways to log in opens it): sign in, then paste the complete address your browser was sent to (it contains request_token=).
Security
- While you log in, the app listens only on
127.0.0.1:47821, reachable only by programs on your computer, and stops as soon as the token arrives or after five minutes. - The API secret and access token are kept in your operating system's credential store and used only by the app's backend.
- One live-feed connection is shared by every chart, tab and window.