Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automation-Orders not filled.

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

    Automation-Orders not filled.

    This questions is for all the TradeStation programmers out there. If a strategy implements a limit order and the order is not filled in one bar the order dies automatically. In fact if you look at your chart with the strategyyou will not even see an attempt at an order. If Ninja Automation is set up however the limit order is placed on Ninja and will wait there indefinitely. Your strategy will see the the order dead after that one bar but Ninja will keep the order and shortly you can have a mess on your hands. Has anyone found a good way to prevent this?

    Thanks



    Z





    #2
    imported post

    If your limit order is not submitted on the next bar, TradeStation cancels the order. If you have completely set up the Email Interface between TradeStation and NinjaTrader, TradeStation will issue an order cancellation notification email which NinjaTrader intercepts and cancels the pending limit order.

    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      I should have added:

      If you are using the DLLinterface, then you have to take care of cancelling the order by calling the NT cancel order function from within your EL strategy.

      Ray
      RayNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X