gttParams.orders = new ArrayList(List.of(orderParams));
gttParams.orders.get(0).price = triggerPrice; gttParams.triggerPrices = new ArrayList(List.of(Double.valueOf(triggerPrice - 4D)));
GTT gtt = Misc.theInstance().placeGTT(gttParams);
When I execute, I get this exception: com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:54) at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:20) at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:86) at com.zerodhatech.kiteconnect.KiteConnect.placeGTT(KiteConnect.java:506)