Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Level I/II question

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

    Level I/II question

    If a user is subscribed to Level I only does OnMarketDepth() still execute so I can get the bid/ask volume only? Or should I always use OnMarketData for bid / ask data?

    #2
    Hello martyn73,

    Thanks for your question.

    OnMarketDepth will be used for Level 2 data so if a user does not have Level 2 data, I would suggest using OnMarketData.

    Let us know if there is anything else we can do to help.
    JimNinjaTrader Customer Service

    Comment


      #3
      Is there a way to detect if a user only has level I? I can check if my data from OnMarketDepth is empty. But was wondering if there is a another way to check this. Thanks.

      Comment


        #4
        Hello martyn73,

        There isn't anything supported that I can suggest to check from the Connection class, and I would suggest checking the same as you have pointed out.

        We look forward to assisting.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ETFVoyageur, 05-07-2024, 07:05 PM
        17 responses
        133 views
        0 likes
        Last Post ETFVoyageur  
        Started by ETFVoyageur, Yesterday, 10:13 PM
        1 response
        7 views
        0 likes
        Last Post ETFVoyageur  
        Started by somethingcomplex, Yesterday, 10:36 PM
        0 responses
        7 views
        0 likes
        Last Post somethingcomplex  
        Started by sofortune, 05-10-2024, 10:28 AM
        5 responses
        22 views
        0 likes
        Last Post sofortune  
        Started by guyonabuffalo, Yesterday, 10:01 PM
        0 responses
        4 views
        0 likes
        Last Post guyonabuffalo  
        Working...
        X