Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars coming in late?

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

    Bars coming in late?

    I'm seeing some weird behavior in my live strategy.

    For the last 2 hours, all of my bars are coming in about 10 minutes late. That is, they're time stamped 10 minutes before the point I actually receive them. (I compare Time[0] to DateTime.Now.)

    My system clock is absolutely correct. My data provider is IQFeed. Any ideas??

    #2
    Oh, I guess I see the problem, even if I don't understand it.

    IQFeed's client (iqconnect) is taking up 50% of my (quad-core) CPU load. This is bizarre. Anyone seen anything like it?

    Comment


      #3
      heech,

      IQFeed data is all natively timestamped. This means the timestamp of the bars you receive is timestamped by DTN. If there is a mismatch against DateTime.Now which is your PC clock then that is the reason for the discrepancy.

      You have to somehow sync your PC clock with DTN's timestamping.

      Edit: CPU load could play a factor too. Which client version are you on?
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Josh, what are the benefits of a natively timestamped database?

        Comment


          #5
          Not really an advantage or disadvantage. It is just a different approach.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          19 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          120 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          174 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          92 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          134 views
          0 likes
          Last Post cmoran13  
          Working...
          X