Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

onMarketDepth limited to 10 rows of depth?

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

    onMarketDepth limited to 10 rows of depth?

    Hi

    I am connecting to a CQG feed which allegedly has 20 levels of depth in it.

    I'm looking at the output of a Print statement:

    Print("Depth " + e.MarketDepth.Ask.Count + " : " + e.MarketDepth.Bid.Count);

    Which shows max 10 levels.

    Is this a hard restriction in the MarketDepth object to only store 10 levels, regardless of the feed?

    Thanks

    Pete

    #2
    Which market / instrument were you looking at Pete?

    Comment


      #3
      ES with a CQG feed.

      Comment


        #4
        Here it is....

        CQG Dom on the left and mine on the right. I've put in debug messages and MarketDepth does appear to only have 10 levels.



        Cheers

        Pete

        Comment


          #5
          Thanks Pete, I'm checking to find out what would be natively offered via the API we work with - generally there's no NT 'cap' on the levels offered in OnMarketDepth() you work with.

          Comment


            #6
            Pete, I could clarify with CQG and there should be 10 Levels depth for the ES/Globex.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            173 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            328 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            252 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            354 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            181 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X