Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RealtimeErrorHandling.IgnoreAllErrors;

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RealtimeErrorHandling.IgnoreAllErrors;

    by having RealtimeErrorHandling.IgnoreAllErrors; The strategy should not stop since the errors are ignored and handled from the code, but the strategy continues to exit on occasion, can this be avoided?

    #2
    Hello franatas,

    That would prevent the strategy from being stopped if it encounters an error that the strategy created. There are other situations where a strategy would still be disabled such as connection losses or manually closing a position. If you can provide more specific details on the situations where its disabled we could let you know if that would be expected when using that setting.

    Comment


      #3

      The case is that sometimes it does not place the order and other times it does, and then it deactivates, sometimes the strategy cancels orders at the same time that it has to send others, in this case I put a flag to prevent it from placing operations before receiving the cancellation
      As you can see in the image, I even alternate the name of the entry to avoid the conflict of cancellation and placement of the same order, I'm not sure that this works but receiving a different name each time would avoid this conflict​
      Attached Files

      Comment


        #4
        Hello franatas,

        It looks like this is the same error from your previous post. In the future please reply to your existing post if the problem is still happening rather than opening a second post.

        If you are still getting the same error you would need to continue to debug the strategy and eliminate the code that is causing that error. If you feel this is still related to the cancelation I would suggest to try and remove that part of the logic and see if it continues to get the error or not.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        586 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        341 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        555 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X