Order ID not received

rishiajmera
rishiajmera edited March 2020 in Python client
Hello team,
Greetings!
Yesterday, I didn't receive the order Id for the order placed from the program. I have faced a similar issue before in past but thought it would be a one-time thing. But now again I faced the same issue.

Order ID: 1000000069875519
For the above order, I didn't get any order id in response. I have gone into trade book in the console and taken the order ID for your reference. This order was actually executed.

I got the following error: Order request timed out.

FYI, I am using the same order placement parts for many users and it doesn't give any issue. I am sure there is nothing wrong with the code.
Let me know if any additional details are required.
Regards,
Thanks,
Rishi A.
Tagged:
  • sujith
    Hi @rishiajmera,
    Are you handling this scenario?
  • rishiajmera
    Yes, I have checked it @sujith.
    In such a scenario, you are asking to check in the order book if that order actually went through or not.
    Now the problem is, we're sending multiple market orders with same parameters. In that case, guessing the order will be difficult. Is there any better solution for it?
  • sujith
    Use order tags while placing the order and check if the order tag exists in the orderbook. You need to make sure tags are unique.
  • rishiajmera
    Oh okay got it. Thanks for the help. I didn't know the usage of tags yet.

    Thank you very much for the prompt response.
  • sujith
    You are welcome :)
This discussion has been closed.