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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X