Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding 1 Tick Data Series

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

    Adding 1 Tick Data Series

    Hi,
    I've read some articles on this, but I'm still a little confused. Does adding a 1 tick data series give you the most realistic fill for back testing strategies? Does the number of contracts come into play? Should slippage be added to the test? I'm testing for (ES, NQ, YM).

    Thanks,
    Dave

    #2
    Hi Dave, thanks for writing in.

    You can choose a 1 tick series for the High Order Fill Resolution and it will use a 1 tick series to determine if the price hit an order. If your strategy adds more data series, High order fill resolution can not be used, so you have to add a 1 tick series yourself and submit the order to that series using an order entry overload that takes a BarsInProgress index e.g.:

    EnterLongLimit(int barsInProgressIndex, bool isLiveUntilCancelled, int quantity, double limitPrice, string signalName)

    We have a fully implemented example here:
    https://ninjatrader.com/support/help...ipt_strate.htm

    Here is the filling algorithm we use in a backtest:
    https://ninjatrader.com/support/help...fill_logic.htm

    Kind regards,
    -ChrisL

    Comment


      #3
      Thanks for the reply Chris.

      I implemented the multi-series option that you mention above, filling on the one tick series.

      I reread the filling algo documentation. It doesn't seem to account for the number of contracts being traded. Is that accurate? Is there a way to program for that? I would guess that the fill algo is pretty accurate when trading one contract, but what about 25 or 50?

      Thanks,
      Dave

      Comment


        #4
        Hi Dave, thanks for your reply.

        It does account for every contract specified in the Quantity parameter. Could you detail out what exactly you are seeing between using 1 contract or 25?

        Best regards,
        -ChrisL

        Comment


          #5
          Hi Chris,
          I'm not seeing anything weird on the 1 vs 25. I was seeing different results for 1 minute vs 1 tick. I was just making sure I was back testing in the most precise way.

          Thanks,
          Dave

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X