Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ExitLongLimit is ignored.

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

    ExitLongLimit is ignored.

    ExitLongLimit(823.15);
    this command is ignored while the following is true:
    - I have a long position
    - No other outstanding orders
    - In market replay mode
    - This is triggered within a OnMarketData where marketdatatype is last.

    #2
    istavnit,

    I suspect it is likely not ignored, but rather expired. Please confirm what is happening with your order through the use of TraceOrders = true. http://www.ninjatrader-support2.com/...ead.php?t=3627
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Trace on Update

      3/26/2009 10:54:59 AM Ignored PlaceOrder() method: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName=Sell' FromEntrySignal='' Reason='There already is a matching order with same prices and quantity'
      3/26/2009 10:55:00 AM Cancelled expired order: BarsInProgress=0: Order='36f8b035f9ad4455b871e641607df4f4/Replay101' Name='Sell' State=Working Instrument='ES 06-09' Action=Sell Limit price=820.5 Stop price=0 Quantity=1 Strategy='RetracementBols' Type=Limit Tif=Gtc Oco='' Filled=0 Fill price=0 Token='36f8b035f9ad4455b871e641607df4f4' Gtd='12/1/2099 12:00:00 AM'
      3/26/2009 10:55:00 AM Entered internal PlaceOrder() method at 3/26/2009 10:55:00 AM: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName='' FromEntrySignal=''
      3/26/2009 10:55:00 AM Ignored PlaceOrder() method: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName=Sell' FromEntrySignal='' Reason='There already is a matching, terminal exit order in place'
      3/26/2009 10:55:00 AM Entered internal PlaceOrder() method at 3/26/2009 10:55:00 AM: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName='' FromEntrySignal=''
      3/26/2009 10:55:00 AM Ignored PlaceOrder() method: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName=Sell' FromEntrySignal='' Reason='There already is a matching, terminal exit order in place'
      [
      3/26/2009 10:55:00 AM Entered internal PlaceOrder() method at 3/26/2009 10:55:00 AM: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName='' FromEntrySignal=''
      3/26/2009 10:55:00 AM Ignored PlaceOrder() method: Action=Sell OrderType=Limit Quantity=0 LimitPrice=820.50 StopPrice=0 SignalName=Sell' FromEntrySignal='' Reason='There already is a matching, terminal exit order in place'

      ]
      [] this part repeats infinitely even though there is no active order displayed and it is not getting filled even as price penetrates 820.5
      Last edited by istavnit; 04-01-2009, 01:56 PM.

      Comment


        #4
        istavnit,

        You will need to provide more background information. If this order is part of a scale-out strategy you need to actually scale-in before you can do that or else you will get the message you have here.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Josh
          you have correctly guessed 1st time around that order expired on a bar change. I have since updated my code to place a GTC orders.

          So it appears you can not resubmit orders that canceled out because of bar change?

          seems a little odd.
          Thanks

          Comment


            #6
            istavnit,

            Could very well be the case. I suggest you keep it alive instead of letting it expire. Once expired, you will not be able to resubmit against that signal name.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X