Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit Order cancelled after period in STRATEGY BUILDER

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

    Limit Order cancelled after period in STRATEGY BUILDER

    Strategy Builder would place a limit order. If the order has not been accepted and become a trade within the period, I.E... 60 seconds, the order would be cancelled. To accomplish this, it would require Strategy Builder to know the limit order was placed, it has not been entered into the trade, and so the order needs to be cancelled.

    The piece I think is difficult, is knowing the limit order has been placed but not accepted into a trade.

    Thank you for your assistance.

    #2
    Hello JMont1,

    Thank you for your post.

    Orders submitted by a managed approach strategy are automatically cancelled when the submission bar closes if the order is not filled when isLiveUntilCancelled is false or the overload with the isLiveUntilCancelled parameter is not used.

    When using the Strategy Builder, orders are submitted without using the isLiveUntilCancelled bool and will be false, meaning orders will be automatically cancelled.​

    In order to keep the order alive, you need to resubmit it on each new bar.

    Below is a forum post that goes into detail, with examples.



    Please let me know if you have further questions. ​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    474 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    315 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    253 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    305 views
    0 likes
    Last Post CarlTrading  
    Working...
    X