Permission to store Kite Connect historical data locally for personal backtesting

DakshinaMurthy
Hello Zerodha Team,

I have an active Kite Connect API subscription and am developing a private, Python-based backtesting application for my personal research.

My application is intended to download historical OHLC data for NIFTY indices, NIFTY options and, eventually, NSE stocks. The downloaded data would be stored in a local database on my personal computer, allowing me to run historical backtests offline without repeatedly requesting the same data through the API.

I would also like to automatically download newly completed candles after each trading session and incrementally update my local historical database.

I understand that **Section 4(b) of the Kite Connect Terms places restrictions on permanently storing API data and building databases**, unless expressly permitted.

Could the Zerodha team please clarify the following?

1. Is downloading and permanently storing historical OHLC data for **personal, non-commercial backtesting** permitted?
2. Can I automatically download new candles after each trading session and append them to my private local database?
3. Is storing instrument-master data, historical contract identifiers and expired-options data collected while contracts were active permitted?
4. Can I maintain local backups and immutable dataset versions for reproducible backtests?
5. Am I permitted to retain and use previously downloaded data after my Kite Connect API subscription expires?
6. If permanent local storage is restricted, is there an approved licensing arrangement or another permitted method for this use case?

**The application is strictly for my own research.** I will not redistribute, resell, publish or provide access to the market data to any third party. The application will not place live orders.

I would appreciate an official clarification regarding the applicable usage and retention permissions before enabling automated data collection.

Thank you.
Sign In or Register to comment.