Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Control Center question

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

    Control Center question

    Hi,

    I'm using the following code within a strategy to cancel an order when entry conditions change (tick-by-tick basis):

    CancelOrder(OrderID3);

    It seems to work OK, however in the Control Center the associated order doesn't seem to change its status from "Accepted"...shouldn't it change to "Cancelled"?

    #2
    Will look into this and report with findings.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks, but you probably don't need to bother...I think what is happening is that the order is being "reset/recalculated" since it is running on a tick-by-tick basis...thus as long as the order condition remains "true" it stays at "accepted". It does appear to be modifying entry price as it does this.

      Comment


        #4
        The order changes to cancelled on my test strategy in the Control Center. As you stated it is probably just the resubmission that you are seeing for your order.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        27 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        117 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        226 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        418 views
        0 likes
        Last Post CaptainJack  
        Working...
        X