Does Zerodha provide a paper trading facility through its APIs, allowing us to test order execution flows without risking real money in the live market?
Over the past three days, I have been testing my trading engine in the live market to verify whether orders from my algo are being placed and executed correctly. During this testing, I encountered the following issues:
On the first day, my market order was rejected because market protection was not specified. Today, my entry order was executed successfully, but the stop-loss (SL) order did not trigger as expected.
I would appreciate any guidance or recommendations on how to safely test and validate the order execution flow without financial risk.
Kite Connect does not provide a dedicated sandbox environment for testing. For development and validation purposes, this would need to be handled on your end.
A common approach is to implement a “paper trading” or dummy execution layer within your application (e.g., using a flag to simulate order placement and backtesting logic).
Alternatively, you may test API flows using a live account in a controlled manner. For instance, placing orders from an account with insufficient funds or outside market hours will result in a REJECTED status, which can still help validate request/response handling and error flows.
A common approach is to implement a “paper trading” or dummy execution layer within your application (e.g., using a flag to simulate order placement and backtesting logic).
Alternatively, you may test API flows using a live account in a controlled manner. For instance, placing orders from an account with insufficient funds or outside market hours will result in a REJECTED status, which can still help validate request/response handling and error flows.