Auto Stop Error
Forums › ProRealTime English forum › ProRealTime platform support › Auto Stop Error
- This topic has 5 replies, 4 voices, and was last updated 2 months ago by GraHal.
-
-
09/03/2024 at 1:16 PM #237044
I’d like to know how to resolve the following errors.
————
If {0} times orders are tried and they are rejected, the configured auto strategy is set to stop this strategy after the order has been rejected.
This automated strategy has been stopped because the configured number of orders have been rejected.
09/04/2024 at 2:38 PM #237079Hi
To resolve this issue, I suggest checking the following points:Check market conditions: Ensure that the orders the strategy is trying to execute are not being rejected due to market conditions, such as lack of liquidity, excessive order size, or restrictions imposed by the broker.
Modify strategy parameters: In your code, you can adjust the maximum number of rejections allowed before the strategy stops. This is typically set through a variable that defines the rejection limit before the strategy is halted.
Review execution logs: ProRealTime usually provides an execution log where you can see why the orders were rejected. This will help you identify whether it’s a market condition issue or something in the strategy’s logic.
If you need further assistance, feel free to provide more details about the order rejections and the strategy code for a more in-depth analysis.
I hope this helps!
09/04/2024 at 5:26 PM #237098Modify strategy parameters: In your code, you can adjust the maximum number of rejections allowed before the strategy stops. This is typically set through a variable that defines the rejection limit before the strategy is halted.
Hi Iván – Where/What/How would this be ? Looks quite interesting to me, if it really exists … 😉
Regards,
Peter09/05/2024 at 8:27 AM #23711409/05/2024 at 1:55 PM #237136Hello @coscozy,
The error you are referring to is generally unsolvable. There is no setting for number of retries – this is just the communication in the interface which tells e.g. 10 times to try (like one time per second for 10 seconds long) before giving up because nothing changes.
Numerous reasons for such error exist, and once you understand them, you can try to prevent them from happening. For example, if the error is about a pending order which was put too close to the price (which for e.g. Nasdaq is 4 points) then you can make that stop distance higher *or* draw the conclusion that something is wrong at IG because yesterday all was fine and today it leads to an error.
Within this forum I myself alone have written about this 100+ times and about dozens of different of such errors.
There is no guide book for how to solve the errors, other than a deep understanding of them, and accept them because temporary, or solve them yourself via one or the other back door solution.Regards and good luck !
Peter09/05/2024 at 3:02 PM #237153yesterday all was fine and today it leads to an error.
For information, this week, I’ve had dozens of stoppages (loads together) for ‘exceeded the allowed number of retries’ and this is, after having hardly any such stoppages on the same Systems for weeks.
As Peter says, we could spend hours ‘chasing after wind‘ to find a solution, but none might exist?
I just restart my Stopped my Systems and make a note in the Comments box if I think the Stoppage is an isolated instance.
-
AuthorPosts
Find exclusive trading pro-tools on