Hello,
I'm using a robot which is opening and closing my positions through IG API every day. Up to 2.5K€, I have no issue for closing my position but each time that I'm increasing my daily trading to 10K€, I got the error message "DUPLICATE_ORDER_ERROR" when closing my position via the API. I did check several time but I'm not closing the same position several time at the the same time. I got this error message at the first trial !!! the only solution that I found for closing my position is to decrease the quantity of my closing order but it takes ages (5 min), and I need several orders (10) so it costs me a fortune. Up to 100€ for closing a 10K€ position where it should be more in range of 45€.
Any idea how to prevent getting this error ?
Thank you so much in advance but this errors costs me a lot fo money
Waaf75