Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 6.5 How to get MarketData to stream?

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

    NT 6.5 How to get MarketData to stream?

    Hi-

    I would like to have a stream of market data, not just something that I need to keep calling. Is there a way to do this in 6.5? 7.0?

    double MarketData(string instrument, int type)
    Gets the most recent price for the specified instrument and data type. 0 = last, 1 = bid, 2 = ask. You must first call the SubscribeMarketData() function prior to calling this function.

    Thanks! W2

    #2
    WSquared, you can work in OnMarketDate() for this task, it will give you access to all Level1 data changes, for Level 2 try OnMarketDepth().

    Comment


      #3
      Hi Bertrand, OnMarketDate I believe is for NT 7, is there a solution for NT6.5?

      Thanks. W2

      Comment


        #4
        Hi W2, both OnMarketData and OnMarketDepth are available in NinjaTrader 6.5 as well.

        Comment


          #5
          Sorry, here's the needed link from the 6.5 helpguide for the Level 1 OnMarketData() stream access - http://www.ninjatrader-support.com/H...arketData.html

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          86 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          29 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          67 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X