Place Order + NFO

knvgovind
getting below error when placing Options order, setting all values, pls check and let me know if I am missing anything. thank you.

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:85)
at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:282)
at xxxxxxx.PerformActions.placeOrderOption(PerformActions.java:45)


order.setOptionType(optionType); // CALL
orderParams.quantity = order.getTradeLots(); // 300
orderParams.orderType = Constants.ORDER_TYPE_LIMIT;
orderParams.tradingsymbol = order.getSymbol(); //HINDUNILVR22FEB2280CE
orderParams.product = Constants.PRODUCT_CNC;
orderParams.exchange = Constants.EXCHANGE_NFO;

orderParams.validity = Constants.VALIDITY_DAY;
orderParams.price = order.getTradeCost(); //51.7
orderParams.triggerPrice = 0.0;
orderParams.transactionType = Constants.TRANSACTION_TYPE_BUY;

Sign In or Register to comment.