I add pending orders. Add two hours for expire. After it add the pending it delete it again after few seconds. Nothing in the code close any kind of order. Any idea why?
In journal it just says pending order #... was deleted
Next possibility, you have a code running which removes the pending.
What is written in the log ? (Experts and Journal).