Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

terminal exit order

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

    #31
    So, do you say me that my strategy is ok? No problem?
    Great!!!
    I try with mode 1,2 or 3 (with single entry), no problem but when I use multiple entry have same problem. I hope only in tested mode I have this problems but not in real enviroment.
    I try to make a backtest but it don't works: why? (problem with multiple instruments???)
    thanks

    Bolla

    Comment


      #32
      Hi gbolla, yes looks good from a short testrun and overlooking the code. I tested this with the multiple entry modes 5 / 6 / 7 as you suggested. Does it depend on the symbol and timeframe you are running in on? Try to isolate the code part that is giving you the error and then debug it. Maybe this tip can help - http://www.ninjatrader-support2.com/...ead.php?t=3418

      Comment


        #33
        Bohhh...I don't know...really I don't know!!!
        I test it many times, with Print statment, TraceOrder but nothing....for me the code is right but same time on Output Window I see (in real too):

        Ignored PlaceOrder() method: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName=x10' FromEntrySignal='10' Reason='There already is a matching, terminal exit order in place'

        and really I don't know why!!!
        What hell is it???
        I think there is a problem on Ninja Database.
        However thanks for try to help me.

        Bolla

        Comment


          #34
          Bolla,

          I did not see your code earlier. Bertrand will be back tomorrow.

          Generally, that error message occurs when you already have the same exit order in place. From the logs you posted earlier, you did indeed submit the same order right before it. That is why you are getting the message.
          Josh P.NinjaTrader Customer Service

          Comment


            #35
            but if you see the log, I close the order and after I re-open a new order with the same name and then I close it(try) again......only here I have the problem: why this message???

            Comment


              #36
              From your TraceOrders I see no indication of any closing of the order. As far as I can tell your orders are still active.
              Josh P.NinjaTrader Customer Service

              Comment


                #37
                29/12/2008 18.09.15 Entered internal PlaceOrder() method at 29/12/2008 18.09.15: Action=Buy OrderType=Market Quantity=23 000 LimitPrice=0 StopPrice=0 SignalName='0' FromEntrySignal=''
                29/12/2008 18.11.44 Entered internal PlaceOrder() method at 29/12/2008 18.11.44: Action=Buy OrderType=Market Quantity=53 000 LimitPrice=0 StopPrice=0 SignalName='10' FromEntrySignal=''
                29/12/2008 18.12.23 Entered internal PlaceOrder() method at 29/12/2008 18.12.23: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='x10' FromEntrySignal='10'
                29/12/2008 18.12.23 Entered internal PlaceOrder() method at 29/12/2008 18.12.23: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='x0' FromEntrySignal='0'
                29/12/2008 18.15.51 Entered internal PlaceOrder() method at 29/12/2008 18.15.51: Action=Buy OrderType=Market Quantity=23 000 LimitPrice=0 StopPrice=0 SignalName='0' FromEntrySignal=''
                29/12/2008 18.27.51 Entered internal PlaceOrder() method at 29/12/2008 18.27.51: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='x0' FromEntrySignal='0'
                29/12/2008 18.27.51 Ignored PlaceOrder() method: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName=x0' FromEntrySignal='0' Reason='There already is a matching, terminal exit order in place'
                29/12/2008 18.28.01 Entered internal PlaceOrder() method at 29/12/2008 18.28.01: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='x0' FromEntrySignal='0'
                29/12/2008 18.28.01 Ignored PlaceOrder() method: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName=x0' FromEntrySignal='0' Reason='There already is a matching, terminal exit order in place'
                29/12/2008 18.28.29 Entered internal PlaceOrder() method at 29/12/2008 18.28.29: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='x0' FromEntrySignal='0'
                29/12/2008 18.28.29 Ignored PlaceOrder() method: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName=x0' FromEntrySignal='0' Reason='There already is a matching, terminal exit order in place'

                In black open 2 order (buy): 1st order name '0' and 2nd order name '10'
                In green close 2 order (sell): 1st order name 'x10' form entry '10' and 2nd name 'x0' from entry '0' (now I'm flat)
                In blue I re-open new '0' order
                In orange, if condition became true, and I try to close order name 'x0' from entry. '0'
                In red fails!! (3 time because if became true tre times)

                Bolla
                Last edited by gbolla; 01-05-2009, 03:21 PM.

                Comment


                  #38
                  Bolla,

                  Going to need to see code to further assist. Thanks.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #39
                    I know I know.......no problem

                    Thanks a lot

                    Bolla

                    Comment


                      #40
                      Originally posted by NinjaTrader_Josh View Post
                      Bolla,

                      I did not see your code earlier. Bertrand will be back tomorrow.

                      Generally, that error message occurs when you already have the same exit order in place. From the logs you posted earlier, you did indeed submit the same order right before it. That is why you are getting the message.

                      Josh, do you have news form Bertrand??
                      He has my code and he can make test on my system.
                      Thanks

                      Bolla

                      Comment


                        #41
                        Hi gbolla, couldn't reproduce your error message as of now - do you have a need for using it on CalculateOnBarClose = false? If not, then I would suggest to set this to true and retest the strategy.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        558 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        324 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        101 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        545 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        547 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X