Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Confused by output of onMarketData

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

    #16
    Hi Chris

    The documentation for OnMarketData states that it is "guaranteed to be in the correct sequence for every change in level one market data for the underlying instrument", so I would expect the ask/bid stream to perfectly sync with last update events. Is there possibly a problem with the data feed from Kinetick? Can you refer this to them?

    Also, I have used OnMarketDepth extensively before and the problem there is that OnMarketDepth doesn't provide last update events and you cannot rely on e.g. OnMarketDepth always being called before OnMarketData, as NinjaTrader is multi-threaded (also from the docs). In any case, I'm only interested in level one data, for continuous last, bid and ask events and volumes. It's looking very like this data is not reliable, which is disappointing.

    Thanks again for investigating this issue.

    Comment


      #17
      Hello Cilla,

      Thanks for the follow-up.

      I do see the help guide claims the OnMarketData method will be in sync. I will run a test in NInjaTrader 7 to see if the same thing happens there. It appears we will need to make a change to the help guide and/or report this as a bug.

      Thanks in advance for your patience.
      Chris L.NinjaTrader Customer Service

      Comment


        #18
        Hello Cilla,

        Thanks for your patience.

        A change to the help guide will be made to make it more clear that OnMarketData will give you every change in level one data that is given through your data provider.

        Please let me know if I can assist any further.

        Chris L.NinjaTrader Customer Service

        Comment


          #19
          Many thanks Chris, I understand now. I look forward to the change in the help guide.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wjadevries, Today, 03:35 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by Mykro, Today, 03:59 PM
          0 responses
          5 views
          0 likes
          Last Post Mykro
          by Mykro
           
          Started by venkateshdvk, Today, 01:34 PM
          1 response
          22 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by westofpluto, Today, 01:54 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by zacharydw00, Today, 02:11 PM
          4 responses
          15 views
          0 likes
          Last Post zacharydw00  
          Working...
          X