Couldn't find that `order_id`


I had raised the issue earlier and the discussion was closed after @sujith provided a solution.

As per the suggestion, I added a sleep command for 3 secs and retry after 6 secs (through exception handler).
I am still getting the same error. This is a big problem for me, can you please look into the matter?

Thank you
  • sujith
    Is this consistent behavior? When did you try it?
  • sujith
    At what time order was placed?
  • durghy_trades
    Hello @sujith ,

    Following are the details:
    Company : HIMATSEIDE
    Date: 14th Feb
    Time of try and retry: 09:15:14, 09:15:18, 09:15:21

    I am attaching the required extract from the log file. I face this problem for most of my orders, but I am attaching example of only 2 companies (HIMATSEIDE and IGPL)

    Thanks in advance for your help
  • sujith
    At the opening there is a huge inflow of orders and there will be 10s of thousands of amo(s) also. The exchange lease lines (physical) also have a certain limit on the number of orders that can be sent per second. At that time, the orderbook data from OMS might get delayed. You will have to add more delay and try again.
    Maybe add like 5, and after that fails, try after 10 seconds and then 15 seconds and then 20 seconds.
  • durghy_trades
    Ok, thanks.

    I will try adding delay, but adding delay in AP is not suitable for my logic.
Sign In or Register to comment.