Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different limit order fills in Replay and Sim101

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

    Different limit order fills in Replay and Sim101

    When trading ES on live connection and Sim101 price almost always has to tick through the limit order price to fill it. And this is how it's supposed to be on ES. Contrary to this when trading ES on (downloaded, not recorded) replay data price seems to never need to tick through to fill a limit. I consider this a bug.

    #2
    Hello User13,

    Unfortunately this can be as expected. Orders are filled as per the simulator fill engine, see the link below.


    NinjaTrader provides a state of the art internal simulation engine that can be used to test trading ideas and hone your skills. The simulation engine is not a simple algorithm that fills your order once the market trades at your order price. The engine uses a scientific approach to determine fill probability by including a number of variables including: ask/bid volume, trade volume, time (to simulate order queue position), and random time delays for switching between order states.

    You can workaround it by enabling 'Enforce immediate executions' at Control Center-->Tools-->Options-->Simulator-tab.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Still I don't see why fills should be different providing replay data flow is the same as live and that simulation engine consumes the replay data correctly.

      I don't know maybe replay data is filtered/sampled compared to full live feed. And judging by the size of replay files I would say replay data is filtered. I haven't tried to replay recorded data though, but then again I don't know if NT would filter data when recording.

      If replay data is not filtered, then the problem is in the simulation engine.

      Either way the problem exists and it greatly reduces the value of replay mode.

      Comment


        #4
        Replay data is not filtered. It is related to the simulator fill engine. You can workaround it by enabling 'Enforce immediate fills'.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Hi User13,

          I am facing pretty much the same issue. Today my strategy ran different on live market and replay. I understand that the software is real complex and helps a lot to develop better strategies but they should look at this issue.
          In the REPLAY mode, NT accepted 3 orders that didnt fill in the live mode. In most of the cases REPLAY is giving more profits then it should.
          NT developers team - go ahead and fix this!!!
          mcosta72
          NinjaTrader Ecosystem Vendor - Quant-Wise

          Comment


            #6
            Originally posted by mcosta72 View Post
            Hi User13,

            I am facing pretty much the same issue. Today my strategy ran different on live market and replay. I understand that the software is real complex and helps a lot to develop better strategies but they should look at this issue.
            In the REPLAY mode, NT accepted 3 orders that didnt fill in the live mode. In most of the cases REPLAY is giving more profits then it should.
            NT developers team - go ahead and fix this!!!
            This is to be expected. You wait in line in LIVE.

            Replay - not so much - this can't be emulated.

            This has also been discussed many times before over the last several years.

            Comment


              #7
              Originally posted by sledge View Post
              You wait in line in LIVE.
              It's live data feed, but Sim101. To my understanding replay is recorded data feed plus the same Sim101. I can't see any reasons for differences to exist (except for poor implementation), providing data is recorded accurately.

              Comment


                #8
                Originally posted by User13 View Post
                It's live data feed, but Sim101. To my understanding replay is recorded data feed plus the same Sim101. I can't see any reasons for differences to exist (except for poor implementation), providing data is recorded accurately.
                Please review here:



                Also market replay record supposedly doesn't record every tick.

                Comment


                  #9
                  Originally posted by sledge View Post
                  Though useful to know, that's not quite relevant to this issue.
                  Originally posted by sledge View Post
                  Also market replay record supposedly doesn't record every tick.
                  Though I'm probably not entirely convinced but, according to NinjaTrader_Jason, replay data is supposed to be complete

                  Comment


                    #10
                    Originally posted by User13 View Post
                    Though useful to know, that's not quite relevant to this issue.

                    Though I'm probably not entirely convinced but, according to NinjaTrader_Jason, replay data is supposed to be complete

                    Are you downloading it or recording yourself?

                    Comment


                      #11
                      Originally posted by User13 View Post
                      Though useful to know, that's not quite relevant to this issue.

                      Though I'm probably not entirely convinced but, according to NinjaTrader_Jason, replay data is supposed to be complete
                      Hmmmm... Read the NT_J post - it might be referring to playback - what you have is what gets replayed.. not about what is recorded...


                      "1/4 second intervals"


                      "tick by tick basis"

                      Comment


                        #12
                        I use downloaded, not recorded replay data.
                        So according to some NT guys replay data is aggregated (your first link) and according to others (Jason and your second link) it's not.
                        Or maybe downloaded replay data is aggregated while recorded locally would not be aggregated. We need NT guys to clarify this.

                        Either way it's clear replay doesn't work the way sim works on live feed and that's a BIG shame on NT.

                        Comment


                          #13
                          Originally posted by NinjaTrader_Jason View Post
                          Replay data is not filtered. It is related to the simulator fill engine. You can workaround it by enabling 'Enforce immediate fills'.
                          I tried it and it doesn't have any positive effect on the issue.

                          Comment


                            #14
                            The 'Enforce immediate fills' setting should cause orders to fill sooner. You should see orders fill when the price is met, not when the market goes through the limit order price as you initially reported.

                            I will check with my superiors for clarification regarding market replay data.
                            JasonNinjaTrader Customer Service

                            Comment


                              #15
                              Originally posted by NinjaTrader_Jason View Post
                              You should see orders fill when the price is met, not when the market goes through the limit order price as you initially reported.
                              Why did you suggest it then?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by funk10101, Today, 09:43 PM
                              0 responses
                              3 views
                              0 likes
                              Last Post funk10101  
                              Started by pkefal, 04-11-2024, 07:39 AM
                              11 responses
                              36 views
                              0 likes
                              Last Post jeronymite  
                              Started by bill2023, Yesterday, 08:51 AM
                              8 responses
                              44 views
                              0 likes
                              Last Post bill2023  
                              Started by yertle, Today, 08:38 AM
                              6 responses
                              26 views
                              0 likes
                              Last Post ryjoga
                              by ryjoga
                               
                              Started by algospoke, Yesterday, 06:40 PM
                              2 responses
                              24 views
                              0 likes
                              Last Post algospoke  
                              Working...
                              X