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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          118 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          166 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          85 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          130 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          88 views
          0 likes
          Last Post PaulMohn  
          Working...
          X