Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What is the maximum queue of ticks ?

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

    What is the maximum queue of ticks ?

    Hi,

    I'm testing a tick by tick automatic strategy, with a acceptable efficient code. When market is normal the code does its work well, but obviously when market begins to speed up, the massive flow of data might havoc its internal processing, my questions are:

    - How big is the ticks's queue that NT can hold until they're processed ?
    - What happens when this queue is overflow ? NT crashes? or simply, data is lost ?

    NT has a pretty good processing velocity, but I need to know what are the limits to be aware of.

    Thanks in advance

    #2
    Hello pstrusi,

    Thank you for your post.

    The size of the queue should be the size of the memory allotted to NinjaTrader from the operating system and there should be no overflow. I will double check this with development.

    Comment


      #3
      Thanks Patrick, please let me know as soon as they give you an answer.

      Regards

      Comment


        #4
        The size will vary by the CPU resources available to each Machine. 64 bit applications would have access to more system resources and we should not see any "overflow" scenarios unless the data was absurdly large (highly unlikely) such as gigabytes of data.

        Even if the CPU winds up being overwhelmed, the ticks are still queued and will be processed once the CPU processes the data already in queue. If the CPU fell behind it would be behind the current market data until it caught up.

        Performance issues could arise from scenarios where a NinjaScript object is caught in a memory loop or leak. So these are always items to look out for.

        There is no set value or limit from NinjaTrader. It is based on the CPU's available resources.

        Comment


          #5
          Thank you very much for your insightful answer Patrick, excellent help.

          Regards

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,407 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          98 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          8 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          160 views
          0 likes
          Last Post loganjarosz123  
          Working...
          X