I am evaluating Kite Connect for a private automated trading application for MCX Gold futures. I do not want to disclose the proprietary strategy logic.
I only want to confirm the following technical capabilities:
Does Kite Connect WebSocket provide real-time/tick-level data for MCX Gold futures?
Can an external application use the live data to construct a 15-minute candle in real time?
Can the external application independently calculate RSI(14) continuously while the current 15-minute candle is forming?
Can the application detect indicator crossings during the forming candle rather than waiting for candle close?
Can the same external application place MCX Gold futures BUY/SELL orders through Kite Connect?
What are the current requirements for automated API order placement, including static IP requirements?
Are there any restrictions on running a privately developed algorithm using Kite Connect?
Are the current MCX Gold futures contracts available for WebSocket subscription and API order placement?
Since there is no sandbox, what is the recommended way to safely test the market-data connection and order integration before live trading?
Does Kite Connect WebSocket provide real-time/tick-level data for MCX Gold futures? Yes, the Kite Connect WebSocket API provides real-time streaming market quotes for MCX Gold futures.
Can an external application use the live data to construct a 15-minute candle in real time? You can consume the WebSocket ticks and construct 15-minute OHLC candles within your application for personal use.
Can the external application independently calculate RSI(14) continuously while the current 15-minute candle is forming? Kite Connect is an execution and market-data platform and does not provide APIs for technical indicators. Zerodha provides the underlying market data, so you will need to calculate indicators such as RSI at your end. If you are using Python, you can use libraries such as TA-Lib or pandas_ta for these calculations. You can also refer to the relevant resources and ChartIQ documentation for details on the indicator formulas used in Kite Charts.
Can the application detect indicator crossings during the forming candle rather than waiting for candle close? Using the WebSocket data, you can independently calculate RSI and other indicators on the forming candle and detect intrabar crossings based on your implementation and calculation methodology.
Can the same external application place MCX Gold futures BUY/SELL orders through Kite Connect? MCX orders can be placed through Kite Connect using the Order placement endpoint, subject to the applicable order type/instrument restrictions.
What are the current requirements for automated API order placement, including static IP requirements? A static IP is mandatory for API order placement irrespective of order frequency. The WebSocket market data stream and other endpoints, like the portfolio, order book, and positions, can still be accessed from any IP address.
Are there any restrictions on running a privately developed algorithm using Kite Connect? Individuals can automate trading strategies at up to 10 orders/second without exchange registration, provided a static IP dedicated to the Kite Connect API key is configured for order placement. If the strategy exceeds 10 orders/second, it will fall under the applicable exchange algo-registration framework and exchange algo registration is required.
Since there is no sandbox, what is the recommended way to safely test the market-data connection and order integration before live trading? Zerodha does not currently offer a sandbox environment for the Kite Connect API. All trades and market data accessed through the API operate in real-time on live markets. However, providing a sandbox environment is on our roadmap. In the meantime, Kite Connect Personal is available at no cost, and users may test the APIs by placing orders after market hours or by using an account without sufficient balance to avoid actual trade execution.
Does Kite Connect WebSocket provide real-time/tick-level data for MCX Gold futures?Yes, the Kite Connect WebSocket API provides real-time streaming market quotes for MCX Gold futures.
Can an external application use the live data to construct a 15-minute candle in real time?You can consume the WebSocket ticks and construct 15-minute OHLC candles within your application for personal use.
Can the external application independently calculate RSI(14) continuously while the current 15-minute candle is forming?Kite Connect is an execution and market-data platform and does not provide APIs for technical indicators. Zerodha provides the underlying market data, so you will need to calculate indicators such as RSI at your end. If you are using Python, you can use libraries such as TA-Lib or pandas_ta for these calculations. You can also refer to the relevant resources and ChartIQ documentation for details on the indicator formulas used in Kite Charts.
Can the application detect indicator crossings during the forming candle rather than waiting for candle close?Using the WebSocket data, you can independently calculate RSI and other indicators on the forming candle and detect intrabar crossings based on your implementation and calculation methodology.
Can the same external application place MCX Gold futures BUY/SELL orders through Kite Connect?MCX orders can be placed through Kite Connect using the Order placement endpoint, subject to the applicable order type/instrument restrictions.
What are the current requirements for automated API order placement, including static IP requirements?A static IP is mandatory for API order placement irrespective of order frequency. The WebSocket market data stream and other endpoints, like the portfolio, order book, and positions, can still be accessed from any IP address.
Are there any restrictions on running a privately developed algorithm using Kite Connect?Individuals can automate trading strategies at up to 10 orders/second without exchange registration, provided a static IP dedicated to the Kite Connect API key is configured for order placement.
If the strategy exceeds 10 orders/second, it will fall under the applicable exchange algo-registration framework and exchange algo registration is required.
Since there is no sandbox, what is the recommended way to safely test the market-data connection and order integration before live trading?Zerodha does not currently offer a sandbox environment for the Kite Connect API. All trades and market data accessed through the API operate in real-time on live markets.
However, providing a sandbox environment is on our roadmap. In the meantime, Kite Connect Personal is available at no cost, and users may test the APIs by placing orders after market hours or by using an account without sufficient balance to avoid actual trade execution.