• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error initiating strategy

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

    Error initiating strategy

    I created a stochastics entry strategy, backtested and optimized it and had it running for a while (connected) without problem with my SIM account. I closed the strategy and closed the position manually. I then tried to start the strategy with my live account and got a couple of error messages:
    Strategy "stochastics entry" submitted an order that generated the following error "Order Rejected" Strategy has sent cancel requests, attempted to close the position and terminated itself.

    I exited, rebooted my machine, and tried again with the same result. What do I need to do?

    #2
    Originally posted by POINTERDOG View Post
    I created a stochastics entry strategy, backtested and optimized it and had it running for a while (connected) without problem with my SIM account. I closed the strategy and closed the position manually. I then tried to start the strategy with my live account and got a couple of error messages:
    Strategy "stochastics entry" submitted an order that generated the following error "Order Rejected" Strategy has sent cancel requests, attempted to close the position and terminated itself.

    I exited, rebooted my machine, and tried again with the same result. What do I need to do?
    Try setting "wait until flat before executing live" in ninjascript strategy options

    Comment


      #3
      Thanks, I will try it.

      In the meantime, I tried to manually enter a buy order and got a different error message:
      Could not connect to given connection Affected Order: Buy 1 Limit @ 1.42

      I was trying tpo buy one contract for 6E 09-09. Although there is very little activity, I see some orders going through. What is this about?
      Thanks

      Comment


        #4
        I set the strategy option as you suggested and it appears the strategy is running. Thanks. Sorry for 1000 questions, but is the failure of the order entry because the markets are closed? I don't get it. I am new at this futures thing but have been doing equities and equity options for about 30 years. It is not quite the same.
        thanks

        Comment


          #5
          I am getting the same error. Any ideas? See attached image.

          Comment


            #6
            Hello nourozi,

            Can you please send me your log and trace files, so I can investigate. Go to Control Center-->Help-->Mail to Support. Put 'Att Jason, 1056050' in the subject header and enable 'Log and trace files'.
            JasonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by timcjpfx, Today, 01:18 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Tyler  
            Started by lordvader34, Today, 12:48 PM
            2 responses
            11 views
            0 likes
            Last Post lordvader34  
            Started by Newtrader101, Today, 11:06 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Newtrader101, Today, 11:03 AM
            2 responses
            9 views
            0 likes
            Last Post Newtrader101  
            Started by rickyblah12, Today, 09:57 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Working...
            X