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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      56 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X