Is there a limit on checking order_history(). I have a script that checks the status of the order in a loop and acts if the status is changed. I am using order_history() function for that. Is it safe to continue using it in while True loop?
The ideal solution is to use postback or Websocket order update as an event and pull orderbook and check the status rather than polling order history in loop.