Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different prices on 3 min vs 15 second bars

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

    Different prices on 3 min vs 15 second bars

    Sorry in advance if I'm doing something I incorrectly.

    I noticed that the prices on a 15 second chart are way different from the prices on the 3 minute chart for the YM 3-08 contract on 1/4/2008.

    I thought it would be an OpenTick problem, but I downloaded raw data from them and both the 15 second data and the 3 minute data match the data on the 3 minute chart.



    #2
    Possible reason could be they are pumping from different data feeds on those different time frames. I do not know if they do; just putting some ideas out there.

    Try a comparison of 1min to 3min. I believe those should match up.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      The data on the 1 minute bars agrees with the 15 second bars. I don't know how NT queries OpenTick, but calling the API with

      client.requestHistData(new OTDataEntity("EC", "/YMH8"), new DateTime(2008, 1, 4), new DateTime(2008, 1, 5), OTHistoricalType.OhlcTickBased, 1);

      and constructing 15 second bars with that would give the same prices for the 3 minute range.

      Comment


        #4
        Not sure I follow. Please contact OT support on any potential discrepancy on their historical tick and historical minute data.

        Comment


          #5
          This wasn't an OpenTick issue. I reloaded the historical data for that day, and now the prices on the 15 second bars and 3 minute bars agree. Somehow the 3 minute bars were shifted backwards in time by 3 hours, while the 15 second bars were correct. I didn't change any settings on my computer clock. I noticed this because while backtesting a strategy the 15 second prices and 3 minute prices were way off.

          Comment


            #6
            Could have happened from a small lapse in streaming data when you were getting live data. Subsequent minute charts being loaded from OT instead of streamed without the lapse could potentially have lead to the discrepancy. Either way glad you got it sorted out.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by SnailHorn, 05-02-2024, 10:49 PM
            3 responses
            23 views
            0 likes
            Last Post SnailHorn  
            Started by giulyko00, Today, 11:49 AM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by marksingh87, 02-13-2024, 04:55 PM
            6 responses
            209 views
            1 like
            Last Post mshrstv
            by mshrstv
             
            Started by SnailHorn, Today, 08:38 AM
            2 responses
            4 views
            0 likes
            Last Post SnailHorn  
            Started by Skifree, Yesterday, 11:38 PM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Working...
            X