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().
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Aviram Y, Today, 05:29 AM
          0 responses
          1 view
          0 likes
          Last Post Aviram Y  
          Started by quantismo, 04-17-2024, 05:13 PM
          3 responses
          25 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by ScottWalsh, 04-16-2024, 04:29 PM
          7 responses
          34 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cls71, Today, 04:45 AM
          0 responses
          6 views
          0 likes
          Last Post cls71
          by cls71
           
          Started by mjairg, 07-20-2023, 11:57 PM
          3 responses
          216 views
          1 like
          Last Post PaulMohn  
          Working...
          X