Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Increase Disk Cache

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

    Increase Disk Cache

    With long backtests and particularly when switching between different instruments, there is a lot of waiting around and disk activity. NT appears to be building bars and stuff. But my database is barely changing so it is doing exactly the same thing each time.

    Is there any way to increase the size of the disk cache (I guess it is the tmp folder?)? I have tons of spare disk space and would like to just cache all of the pre-processing so that the backtest gets started quicker.

    #2
    Hello AlgoJason,

    Thanks for opening the thread.

    Chart data is saved in the Documents/NinjaTrader 8/db/ folder. It will be downloaded to this location and then read from this location to build charts. There would still be disk activity to read this that cannot be avoided. If you are looking for a performance boost in this area, it would likely be in a HDD with larger internal cache or by using an SSD. The other alternative would be if NinjaTrader kept chart data it was not using in memory, which would greatly increase the memory footprint.

    Please let us know if you have any additional questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    42 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    134 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    188 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    98 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    139 views
    0 likes
    Last Post cmoran13  
    Working...
    X