Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Error

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

    Strategy Error

    It shows the following messages when I try to set a strategy in a chart:

    Strategy 'abc' submitted an order that generated the following error 'OrderRejected.' Strategy has sent cancel requests, attempted to close the position and terminated itself.

    AND

    There is no market data available to drive the simulation engine. Affected order: SellShort 200 Market.

    It is now 12:53 am and I am inserting some strategies in the charts and it shows this message. I am not trying to send orders now anyway. I dont know why its sending orders. How do i fix this?

    I have live data from barcharts.com.

    thank You

    #2
    DeanM, most likely this is because you use the setting to 'immediately submit live working historical orders' in the Strategies > NinjaScript tab. Try setting this to 'Wait until flat before executing live' and see if this helps - http://www.ninjatrader-support.com/H...tegiesTab.html

    Comment


      #3
      Yes that helped. thank You very much

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      607 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      353 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X