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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    66 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X