Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time and tick update

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

    Time and tick update

    Hello,

    What is the smallest update of time that an indicator can be created for when analyzing incoming tick data? for example; i'd like to see how fast orders are coming in on time and sales screen. the below gives a running count of how many ticks that occur in a bar. but is there a way to perhaps get the speed of these orders? a sample code would be very much appreciated. i'm not sure what to do!

    Code:
                TckCount.Set(Bars.TickCount);

    #2
    Hello calhawk01,

    Thanks for your post.

    In NT7 you are limited to 1 second time resolution so unless your datafeed natively timestamps the bars you will likely get many ticks in the 1 second (depending on volatility). You might be better to look at a tick bar and divide the tick bar by the duration of the bar to determine , for example, the ticks per second.

    A search of the forum yields this thread that may be of some assistance in your query as it contains an indicator using the code you are interested in: http://ninjatrader.com/support/forum...ad.php?t=47331

    Comment


      #3
      Originally posted by NinjaTrader_Paul View Post
      Hello calhawk01,

      Thanks for your post.

      In NT7 you are limited to 1 second time resolution so unless your datafeed natively timestamps the bars you will likely get many ticks in the 1 second (depending on volatility). You might be better to look at a tick bar and divide the tick bar by the duration of the bar to determine , for example, the ticks per second.

      A search of the forum yields this thread that may be of some assistance in your query as it contains an indicator using the code you are interested in: http://ninjatrader.com/support/forum...ad.php?t=47331

      thanks will take a look at that. for now can you speculate on one thing for me:

      the above code that i posted in my OP. Nets about 70 ticks per minute. I'm using TD Ameritrade as my connection. And it's yieling 70 ticks for ETF SPY. SPY is one of the most traded instrument in the world. Why such low tick per month? Thats almost only 1 trade per second. What am i missing? Is this because TD ameritrade only aggregates their data per second or something?

      -------------

      also if i want to get data that's faster than 1 second. what are my options with NT? i'm thinking rithmic? does rithmic provide time stamps also per tick? if yes, how does NT handle that scenario since NT can't show anything less than a second??

      thanks
      Last edited by staycool3_a; 09-18-2015, 07:20 AM.

      Comment


        #4
        Hello calhawk01,

        Thank you for your response.

        The TickCount would be what is provided per bar. If the data feed aggregates ticks then that would explain low tick counts.

        There are several data feeds that support real-time unfiltered data such Kinetick. Brokerage connections may vary and you would need to contact the broker for information on there data feed.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        671 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X