Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question about Milliseconds resolution from IQFeed

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

    Question about Milliseconds resolution from IQFeed

    Hello Support
    I have one question : As IQFeed now sends the millisecond - timestamp , how do I programmatically have access to the timestamp of the exchange ? Is there an example of any interface ,where to see this ? Or is there only access to the computertime (with this date,time,now)?
    kind regs
    Jojo

    #2
    Hello Jojo,

    I believe you should be able to get this inside of OnMarketData(). You may use the MarketDataEventArgs to and the Time aspect of this should get you what you would like.



    Note that by default the DateTime objects are only going to get up to the second so you if wanted to get a millisecond granularity you would have to modify the DateTime display structure.

    Represents an instant in time, typically expressed as a date and time of day.
    JCNinjaTrader Customer Service

    Comment


      #3
      Unfortunately it seeemes that OnMarketData does not support/deliver milliseconds from IQ .If I use e.Time.ToString("HH:mm:ss.fff") it gives only 16:30:28.000 ............
      Does NT support millisecond timestamp from IQ or not ??
      That's what the original question was about.
      regs

      Comment


        #4
        The NinjaTrader time methods (Time[0], e.Time) will only work down to the second. However you can substitute DateTime.Now to capture the current computer time which can be used down to the interval you wish.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Ok I feared that - so wait till NT 8.
          Thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          577 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          553 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X