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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      63 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X