Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

'SubmitOrderUnmanaged' method can't be called on managed strategies.

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

    'SubmitOrderUnmanaged' method can't be called on managed strategies.

    Hello,

    although I have set IsUnmanaged = true in SetDefaults, I get the error message that I cannot use SubmitOrderUnmanaged.

    Why is it like this?

    Kind regards
    Gerik

    #2
    Hello Gerik,

    Thank you for your post.

    Are you using any Managed order methods in the strategy? SetStopLoss(), for example? The use of any managed order methods would result in an error.

    Otherwise, if you can make a small example script that replicates the error that would be helpful.

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Hello Kate,

      I do not find SetStopLoss(). Which are the managed order methods that might result in such an error?

      I guess that GetRealtimeOrder() does not lead to that error, right?

      Kind regards
      Gerik

      Comment


        #4
        Hello Gerik,

        Thank you for your reply.

        You can find a list of Managed approach order methods on this page of our help guide:



        Please note that some methods listed here can be used with the Unmanaged approach, including GetRealTimeOrder. I would focus on methods that submit orders.

        Thanks in advance; I look forward to assisting you further.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        75 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        146 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        79 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        50 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        54 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X