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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          37 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          18 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          25 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          34 views
          0 likes
          Last Post CarlTrading  
          Working...
          X