Is there any way I can test the socket connections and order execution when the market is closed? I mean is there some kind of sandbox environment available for this purpose?
So will I get a response if I place the orders or establish a socket connection after the markets hours? I just need some time to test the code that's after the market is closed.
Our RMS blocks all the orders after market hours which will throw a Kite exception with a message as mentioned here. However, for the convenience of the Kite Connect users, we allow placing orders for ICICIBANK of NSE. You can use that for placing dummy orders.