Exception while placing cover order

ruchanavjyot1907
Hello,

I am getting exception while placing CO order. Please advise us on the same.
Moreover, please suggest if - product, validity and order_type should be blank or needs to be specified while placing CO order (while placing CO manually these fields are grey out).

The logs for my unsuccessful order placement attempts are given below:

INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - Order URL : https://api.kite.trade/orders/CO
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - ************** Order Parameteres ****************
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - product : null
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - quantity : 1
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - trigger_price : 212.1
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - tradingsymbol : ZINCMINI18JANFUT
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - exchange : MCX
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - validity : null
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - transaction_type : SELL
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - order_type : null
INFO 2018-01-01 15:52:40,827 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - ************** ************** ****************
INFO 2018-01-01 15:52:40,848 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - JSON Response: {"error_type":"GeneralException","message":"Route not found","status":"error"}
ERROR 2018-01-01 15:52:40,848 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Error Type: GeneralException
ERROR 2018-01-01 15:52:40,848 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Message: Route not found
ERROR 2018-01-01 15:52:40,848 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Error Code: 404
ERROR 2018-01-01 15:52:40,849 [main] com.tradeRobotBatch.business.processor.OrderProcessor - Order Exception:
com.tradeRobotBatch.kiteAPI.api.kitehttp.exceptions.KiteGeneralException
at com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest.dealWithKiteException(KiteRequest.java:253)





INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - Order URL : https://api.kite.trade/orders/CO
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - ************** Order Parameteres ****************
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - product : MIS
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - quantity : 1
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - trigger_price : 212.1
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - tradingsymbol : ZINCMINI18JANFUT
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - exchange : MCX
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - validity : DAY
INFO 2018-01-01 16:00:21,123 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - transaction_type : SELL
INFO 2018-01-01 16:00:21,124 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - order_type : MKT
INFO 2018-01-01 16:00:21,124 [main] com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect - ************** ************** ****************
INFO 2018-01-01 16:00:21,149 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - JSON Response: {"error_type":"GeneralException","message":"Route not found","status":"error"}
ERROR 2018-01-01 16:00:21,150 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Error Type: GeneralException
ERROR 2018-01-01 16:00:21,150 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Message: Route not found
ERROR 2018-01-01 16:00:21,150 [main] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Error Code: 404
ERROR 2018-01-01 16:00:21,151 [main] com.tradeRobotBatch.business.processor.OrderProcessor - Order Exception:
com.tradeRobotBatch.kiteAPI.api.kitehttp.exceptions.KiteGeneralException
at com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest.dealWithKiteException(KiteRequest.java:253)

Sign In or Register to comment.