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 asmmbillah, Today, 08:13 AM
          0 responses
          2 views
          0 likes
          Last Post asmmbillah  
          Started by Bionian, Today, 07:07 AM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by averoos, Today, 05:33 AM
          0 responses
          5 views
          0 likes
          Last Post averoos
          by averoos
           
          Started by RobotSyndicate, Today, 04:27 AM
          0 responses
          4 views
          0 likes
          Last Post RobotSyndicate  
          Started by Ray12345, Today, 04:10 AM
          0 responses
          5 views
          0 likes
          Last Post Ray12345  
          Working...
          X