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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          68 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          150 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          100 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          288 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X