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 judysamnt7, 03-13-2023, 09:11 AM
                4 responses
                59 views
                0 likes
                Last Post DynamicTest  
                Started by ScottWalsh, Today, 06:52 PM
                4 responses
                36 views
                0 likes
                Last Post ScottWalsh  
                Started by olisav57, Today, 07:39 PM
                0 responses
                7 views
                0 likes
                Last Post olisav57  
                Started by trilliantrader, Today, 03:01 PM
                2 responses
                22 views
                0 likes
                Last Post helpwanted  
                Started by cre8able, Today, 07:24 PM
                0 responses
                10 views
                0 likes
                Last Post cre8able  
                Working...
                X