Unable to retrieve trade details

ruchanavjyot1907
Hi,

I am getting error while retrieving trade details from Kite API.
order_id: 180117001723606, 180117001723604

PFB error log:
ERROR   2018-01-17 22:59:53,626 [pool-1-thread-1] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest  - OrderResponse Error Type: GeneralException
ERROR 2018-01-17 22:59:53,626 [pool-1-thread-1] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Message: Route not found
ERROR 2018-01-17 22:59:53,626 [pool-1-thread-1] com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest - OrderResponse Error Code: 404
ERROR 2018-01-17 22:59:53,626 [pool-1-thread-1] com.tradeRobotBatch.business.processor.TradeProcessor - Trade Exception:
com.tradeRobotBatch.kiteAPI.api.kitehttp.exceptions.KiteGeneralException
at com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest.dealWithKiteException(KiteRequest.java:253)
at com.tradeRobotBatch.kiteAPI.api.kitehttp.KiteRequest.getRequest(KiteRequest.java:99)
at com.tradeRobotBatch.kiteAPI.api.kiteconnect.KiteConnect.getTrades(KiteConnect.java:342)
  • sujith
    Are you sure these orders were filled?
  • ruchanavjyot1907
    Hi@sujith,

    Yes, both of them were filled.
    Please check the log and let us know why this exception occurs.
  • sujith
    We fixed it. Can you check now?
  • ruchanavjyot1907
    @sujith Thanks. It has been resolved for now. Could you please let me know in detail what was the issue? Was it street wide issue or user/order specific (only for me or for those particular orders). Also, how can we ensure to avoid it in future?
  • sujith
    It was broken while migration was going on. You can start upgrading to Kite Connect 3.
  • ruchanavjyot1907
    @sujith Thanks for update. I will start exploring V3, however looking at documentation and changes made to existing methods it seems it will take some time. I hope existing version V1/2 will be active and stable till we fully migrate over new API.

    Moreover, please check feasibility to plan migration during non-trading hours so that it will not impact live trading in future (it is just a suggestion). Thanks.
  • sujith
    Yes, we will do it in non-market hours.
Sign In or Register to comment.