Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 tick data buffering

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

    NT7 tick data buffering

    I have the following situation for a question:

    As you know, when markets are a little illiquid, sometimes can experience radical or abrupt price changes, easily in more than one of the instruments TickSize. So, imagine you have an Algo that works with tick data, I mean tick by tick, then suddenly, you receive a new tick that is actually, let's say, 10x the normal TickSize; so if you had an Algo that needs to process one TickSize change, what if:
    - I set a "while Loop" to process all ticks between the abrupt change.....What would it happen with all new Tick data, is there any kind of buffer to wait when the While-Loop is finished?

    I'm trying to test it, but I must be missing something.

    Thanks

    #2
    Hello pstrusi,

    Your logic would loop from the price of the last received tick price up to the price of the new tick incrementing by the TickSize?
    I would suggest a for loop, but you could do this in your logic.
    This wouldn't change the real-time or historical data, but you can change your calculations for every tick size increment between the tick prices..
    Running the for loop (or while loop) would be thread blocking so everything would wait until your loop is complete.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you ChelseaB for your suggestion and for confirming that the real-time tick data would be supported by some buffer, so I can set my loop and do all calculations before processing new real-time data.

      Kind regards!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X