Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accuracy of Replay vs. Actual Data

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

    Accuracy of Replay vs. Actual Data

    Attached is a brief file example of a big problem that I have with Market Replay data generating significantly different trades than the actual trading itself. The discrepancies are far beyond any slippage issues.

    I am running two strategies on SIM - one on GC, CL, and TF. And another on 6e,6a and ZB.

    The file shows trades from about 7:45 - 10:30 last night which was intentionally chosen as a slow period. During the more normal, higher volume hours the problem is greatly exaggerated with a Market Replay showing far greater profitability that actual.

    My actual data is Zenfire/Mirus and the Market Replay data is what I get from File-Utilities-Download Replay Data.

    Thank you.
    Attached Files

    #2
    jtfancher, unfortunately I could not open the file you attached for us here : could you please recheck the attachment? What simulator settings are you using then under Tools > Options > Simulator and with which speed did you replay?

    Please also check this link here for overwiew of common discrepancies seen :

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      jtfancher, unfortunately I could not open the file you attached for us here : could you please recheck the attachment? What simulator settings are you using then under Tools > Options > Simulator and with which speed did you replay?

      Please also check this link here for overwiew of common discrepancies seen :

      http://www.ninjatrader.com/support/h...ime_vs_bac.htm
      Bertrand - the file I was sending is Excel which doesn't seem to be supported directly so I zipped it. Here is a picture of my SIM settings. I have this problem no matter what speed I run.
      Attached Files

      Comment


        #4
        jtfancher, yes, but if I open your zip there's only a link / shortcut incluced and not the actual underlying file.

        The simulator settings are looking ok, are you trading any large size with this strategy? What order types do you use / simulate?
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Bertrand - I am not sure why the file zips like that. I am going to send you an unzipped version to the support@nt address. I am only trading 1 contract each. Both use only limit and stop orders.

          Comment


            #6
            Ok, sounds good - I will check into it shortly.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Any update on this issue that might help us folk looking at market replay in general?

              Comment


                #8
                dojidubbs,

                Bertrand will be following up on Monday.
                MatthewNinjaTrader Product Management

                Comment


                  #9
                  dojidubbs, sorry I don't recall the specifics at this time - what issue are you running into?
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    No specific issue. I was just looking at market replay in general, and saw this item. Perhaps if jffancher is still watching the thread, he can give us an update on why Market Replay was generating different trades than the actual trading.

                    Thx

                    Comment


                      #11
                      Market replay gives me vastly different results versus trading when the markets are open. Ninja apparently makes assumptions about how fills take place. Often in replay, stop orders are filled at favorable prices versus my order level which virtually never occurs in real trading.

                      Comment


                        #12
                        I am having the same issue with market replay on CL. It shows more positive slippage than negative slippage. I use a fixed stop loss of $40. Only long entries are used so all stops are "sell stops".

                        Avg Loss - $37.69 Note: If there was negative slippage, I would expect avg loss to be > $40
                        # of Trades - 860

                        Looking through trade data, most losing trades are at -$40. There is a bias toward positive slippage (ie -$30) as opposed to negative slippage (-$50). Is it realistic for me to expect positive slippage when I start trading this live?

                        Comment


                          #13
                          temerson, please try running the strategy live on a simulation account and let us know what sort of slippage you run into - this will give a more accurate representation of trading live than market replay.
                          AustinNinjaTrader Customer Service

                          Comment


                            #14
                            I ran the strategy 2 ways for 10-17-2011 with CL Nov contract:
                            1. simulation mode with interactive brokers as data feed
                            2. market replay with data downloaded through ninjatrader

                            There are huge discrepancies with slippage. Using sim mode with IB data feed shows an overall negative slippage, whereas market replay shows overall positive slippage. This results in a net loss of $350 in sim mode with IB and a profit of $260 using market replay. I'm not sure why market replay is giving overall positive slippage in all my tests; this seems unreasonable.

                            I have included the order grid with combined orders from market replay and sim mode in .csv format.

                            Any help will be much appreciated.
                            Attached Files

                            Comment


                              #15
                              temerson,

                              I show a lot of the same values in this example so overall looking pretty good. The simulator engine on Sim 101 is identical to the simulator engine on market replay.

                              The data is not the same on your live feed compared to market replay downloadable files. It's a different source for data, and the potential for latency or any upstream issues make it extremely challenging to match up identically.

                              If you wanted to playback the same data live in market replay, record on your local machine. Click Tools > Options > Data > Check Record for market replay. That way you're working with the same data that you previously streamed live to your computer.
                              Ryan M.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by usazencortex, Today, 12:43 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post usazencortex  
                              Started by sidlercom80, 10-28-2023, 08:49 AM
                              168 responses
                              2,262 views
                              0 likes
                              Last Post sidlercom80  
                              Started by Barry Milan, Yesterday, 10:35 PM
                              3 responses
                              10 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by WeyldFalcon, 12-10-2020, 06:48 PM
                              14 responses
                              1,429 views
                              0 likes
                              Last Post Handclap0241  
                              Started by DJ888, 04-16-2024, 06:09 PM
                              2 responses
                              9 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Working...
                              X