Comment on Kite Connect APIs for programmatic access
1. The onus is on the client to square off positions for which there aren’t enough funds to hold on to the next day.
2. In case of technical glitches, the brokerage is not liable. A broker can reimburse only to the extent he has earned from the trade.