Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders don't get filled with Market Replay

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

    Orders don't get filled with Market Replay

    Hello,

    I test a strategy with Market Replay, with ^SP500, on each incoming tick. All entry orders reach "Working" state, but no one is filled.

    What could be the reason and how to fix this?

    Thanks,

    Valentin

    #2
    Hello Valyo,

    Thank you for writing in.

    Are you submitting limit orders with your strategy? If this is the case, they will remain in a working state until filled. Limit orders fill at the limit price or better.

    Can you provide sample syntax of your order submission?
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Hello Zachary,

      The strategy is with limit orders. They remain in a working state until the end of the session and then they are cancelled (ExitOnClose = true).

      I replaced limit orders with EnterLong / EnterShort and the result was the same - the orders were not filled.

      The syntax is:

      Code:
      EnterLongLimit(orderQuantity, limitPrice);
      EnterShortLimit(orderQuantity, limitPrice);
      and

      Code:
      EnterLong(orderQuantity);
      EnterShort(orderQuantity);

      Comment


        #4
        Hello Valyo,

        Please send me your log and trace files so that I may look into what occurred.

        You can do this by going to the Control Center-> Help-> Mail to Platform Support.

        Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.

        Please reference both my name and a link to this thread in the body of the email.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by Valyo View Post
          Hello,

          I test a strategy with Market Replay, with ^SP500, on each incoming tick. All entry orders reach "Working" state, but no one is filled.

          What could be the reason and how to fix this?
          I don't think you can trade an index in replay.

          Comment


            #6
            Hello Valyo,

            sledge is correct. I apologize for not looking over the instrument you were trying to trade with. You cannot trade on indexes.
            Zachary G.NinjaTrader Customer Service

            Comment


              #7
              OK, thanks.

              It is strange, because I can download market replay data with ^SP500 index.

              Comment


                #8
                Hello Valyo,

                You are able to download Market Replay data for the ^SP500, yes, but indexes are not tradeable instruments.
                Zachary G.NinjaTrader Customer Service

                Comment


                  #9
                  Yes, I understand. Thank you.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  633 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  364 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
                  567 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  568 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X