Thanks Sujith. The code snippet I have pasted is for kite publisher and it worked for the NSE stock
kite.add({"exchange":"NSE","tradingsymbol":"KSCL","quantity":85,"transaction_type":"SELL","order_type":"MARKET","variety":"regular","price":494.9,"ta…