Auto Stop Error

Viewing 6 posts - 1 through 6 (of 6 total)
  • #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.

    #237079

    Hi
    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!

    #237098

    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.

    Hi Iván – Where/What/How would this be ? Looks quite interesting to me, if it really exists … 😉

    Regards,
    Peter

    #237114

    Sorry! I think it was translator misunderstanding 🙂
    I mean you can set a stop buy order and after X test if the price doesn’t reach the level you can QUIT the system.

    #237136

    Hello @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 !
    Peter

    #237153

    yesterday 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.

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login