Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug with Unmanaged switch?

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

    Bug with Unmanaged switch?

    Hi Support,

    I don't know, may be you already know about that bug or may be it is OK, but I decided to inform you about it.
    By default option for Unmanaged orders is equals false.
    When I put Unmanaged = true to my strategy it says that it is not possible to run strategy with EnterLongShort(...) function with that option - it is OK, I know it. BUT when I remove "Unmanaged = true" it shows the same error again. In another words this option is not reseted every compilation. To fix that error I need to set "Unamaged = false" explicitly.

    Thank you.

    #2
    Thanks for the report.

    I'm checking with out development for confirmation on this behavior.
    MatthewNinjaTrader Product Management

    Comment


      #3
      This shouldn't be the case as long as you're calling Initialize. Simply disabling/renabling the strategy will not reset the value.

      The strategy needs to be removed and re-added to call the Initialize method and properly set the managed method you're using.
      MatthewNinjaTrader Product Management

      Comment


        #4
        OK

        OK, I've got it.

        Thank you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        156 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        138 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X