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 NullPointStrategies, Today, 05:17 AM
          0 responses
          43 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 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