Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Flatten on Disable?

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

    Flatten on Disable?

    Hello

    I have a strategy that for some reason intermittently becomes disabled, often leaving me with an open position.

    Is there a setting or anything that I can use so that when one of these random disables happens it will flatten any open positions?

    #2
    Hello calebsandfort, thanks for your post.

    The default behavior for error handling is "Stop Cancel Close" which means if the strategy hits an error like an order rejection the strategy will disable, cancel all resting orders, and close any open positions. Do you see any errors in the log tab of the Control Center about order rejections? If so what do they say?

    If you are unable to find any problems in the log tab, I will need to take a look at your log and trace files.

    I look forward to hearing from you.

    Comment


      #3
      Hi Chris

      Thanks for the response. Looked at the log and trace files and there were no errors. I am using the default behavior as you mentioned above.

      I've attached the log and trace files just in case I missed something.

      The disabling occurred at 10/15/2020 7:59

      Attached Files

      Comment


        #4
        Hello calebsandfort, thanks for your reply.

        The strategy is not coming across any order rejections from what I can see in the log file. Do you see the same thing happening when you run the SampleMACrossover strategy? If not, there is something in the custom strategy causing the problem.

        I look forward to hearing from you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        38 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X