Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

real-time level 2 bid/ask volume for a specified price

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

    real-time level 2 bid/ask volume for a specified price

    Is there a way to get real-time level 2 bid/ask volume for a specified price without leveraging OnMarketDepth()? So using something similar to GetCurrentAskVolume() / GetCurrentBidVolume() but for a specified price?

    #2
    Hello martyn73,

    Thanks for your post.

    OnMarketDepth would be the advised way to study level 2 data in an indicator. If the target PC is Order Flow + enabled, then the indicator can use the Volumetric Bars data access methods to be able to call GetAskVolumeForPrice and GetBidVolumeForPrice. More information on using these data access methods is included below.

    https://ninjatrader.com/support/help...tric_bars2.htm

    I look forward to being of any further assistance.

    Comment


      #3
      Is there a way to check if Order Flow + is enabled with NinjaScript? What happens when you use those methods when it's not enabled? And what percentage of NT8 customers would not be licensed for it?

      Comment


        #4
        Also, related to my questions above. Method MarketDepth() documentation states it's a snapshot. How much delay does the snapshot contain compared to the real-time updates in OnMarketDepth()?

        Comment


          #5
          Hello martyn73,

          Thanks for your questions.

          We do not publicly document how to check an Order Flow + enabled platform. If you are in our EcoSystem, please consult vendor support for information on how this can be done. If Order Flow + tools are used but the platform is not enabled, an error message will be presented mentioning an Order Flow + enabled license needs to be entered.

          MarketDepth will take a current snapshot of the order book and then provide subsequent updates in the Update event. A delay in preparing the snapshot may be 25ms. Each update would then be made as NinjaTrader sees a level 2 update.

          I look forward to being of further assistance.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          44 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          58 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          35 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          95 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          59 views
          0 likes
          Last Post PaulMohn  
          Working...
          X