Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar time

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

    Bar time

    Hello,

    I'm trading with IB and I have an issue with the time of the tick. There is usually a range of error and the time of the tick/bar is wrong. Sometimes is only about seconds and sometimes some minutes.

    I get my data mainly from IB and I have Kinetick as a secondary datafeed.

    There is a way to solve this?

    #2
    Hi guillembm, that's only for the realtime data you receive from IB, correct?

    In this case synching the local PC clock would help, since this is used as timestamping reference for the data from IB that's not natively stamped.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      My PC clock is perfectly sync with the real time and with TWS. Your argument would explain a difference of seconds but not of minutes.

      Comment


        #4
        Then you would need to get more specific please to what you're actually comparing here. The stamp is coming in this setup directly from your PC clock and NT would stamp on the end of bar time.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          I just print ToDay(Time[0]) for an instrument and I compare it with the PC clock.

          There are moments where this difference is bigger and only with tick time frame

          Comment


            #6
            Sure, would it expect it so > we stamp the bars with the closing time.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Sorry, I don't understand.

              Comment


                #8
                For time based charts > the bars timestamp will have the future / ending time stamp of the current bar. i.e. 7:20 AM now, my current building 5 min bar has a timestamp of 7:25 AM.

                For tick based bars you would see the time of the last tick (as the closing time could not be known in advance). If a market would not be active, this could show a difference to the current PC clock that would continuously advance each second...
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by pmachiraju, 11-01-2023, 04:46 AM
                8 responses
                148 views
                0 likes
                Last Post rehmans
                by rehmans
                 
                Started by mattbsea, Today, 05:44 PM
                0 responses
                5 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                33 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Started by tkaboris, Today, 05:13 PM
                0 responses
                5 views
                0 likes
                Last Post tkaboris  
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,283 views
                0 likes
                Last Post Leafcutter  
                Working...
                X