Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time periods and CPU usage

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

    Time periods and CPU usage

    Hi everyone

    I'm guessing but I'd imagine it's the case that whatever the time period selected on a chart, NT7 does the calculations in seconds.

    For example, I'd guess that NT7 sees 60 mins as '3600 secs' and '6m Is' as '3601 secs' and calculates accordingly.

    The reason for saying this is that I'm considering using 'non-standard' time periods (mainly so I can be out of synch with other traders and not trade when they trade).

    My question is this: does NT7 calculate 3601 second bars with as much 'efficiency' as 60m bars bars? Or is there indeed a CPU load advantage of using the standard bars?

    It's just a question of getting those trades out there as rapidly as possible.

    Thanks in advance for any help with this.

    #2
    Hi arbuthnot,

    This depends on whether you refer to historical or real time data.

    Seconds and minutes are not calculated the same in historical.

    Second bars are comprised of tick data. Minute bars are comprised of minute data.

    There are 3 underlying bar types: tick, minute, day. Any uneven interval or inverval smaller than minute is made of tick data. This includes tick, second, range, renko, line break, kagi, and volume. Any minute based chart is minute data. Any thing larger than minute is made of daily data.

    There are far less minute bars than tick bars and far less day bars than minute bars.

    The higher the granularity the more work the processor has to do.


    In real-time, everything is made receiving ticks. However, this doesn't cost much for cpu because its just a few ticks at a time instead of many bars at the same time.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks very much, Chelsea.

      It's very interesting to see how historical differs from real-time and useful to know that there wouldn't be much CPU cost for whatever type of bar is painted in real-time.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,609 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      9 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      19 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      6 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      16 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X