com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException: null

balboa
All of a sudden code is not able to place the SLM orders. It was working all the time till last week.

com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException: null
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:54) ~[kiteconnect-3.1.14.jar:?]
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:20) ~[kiteconnect-3.1.14.jar:?]
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:86) ~[kiteconnect-3.1.14.jar:?]
at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:353) ~[kiteconnect-3.1.14.jar:?]

Below are the params I am using.

OrderParams orderParams = new OrderParams();
orderParams.quantity = 50;
orderParams.orderType = Constants.ORDER_TYPE_SLM;
orderParams.tradingsymbol = "BANKNIFTY2192337700CE";
orderParams.product = Constants.PRODUCT_MIS;
orderParams.exchange = Constants.EXCHANGE_NFO;
orderParams.transactionType = Constants.TRANSACTION_TYPE_BUY;
orderParams.validity = Constants.VALIDITY_DAY;
orderParams.triggerPrice = 368.6;
orderParams.tag = "EOD_1"

order = kiteConnect.placeOrder(orderParams, Constants.VARIETY_REGULAR);

Are there any changes in the API?

Thanks in advance.
Sign In or Register to comment.