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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X