I had an open position with a strategy. When the position had to be closed the order has been partially filled and the remaining shares were rejected. When rejected, the system directly shuts off and the remaining position stays open.
THe message received is: "Strategy 'GB/1a17029fac494065a66c956d4f9b59c1' submitted an order that generated the following error 'OrderRejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself."
How to avoid the system to terminate when the order has been rejected?
thanks
Comment