What is NinjaTrader's position on these practices?
If actually effective to increase NinjaTrader performance, how often should these directory cleanup actions be run?
For example, below is batch file code with all actions commonly recommended:
:: NinjaTrader File Cleanup and Optimization Batch File
Rem rd - Remove Directory. Removes a directory in the current location. Directories must be empty before they can be removed.
Rem /s - Removes a directory tree (the directory, all subdirectories, and all files), asking for confirmation once before proceeding with the removal.
Rem /q - Quiet mode, with no prompt asking for confirmation before proceeding with the directory tree removal.
Rem md - Make Directory. Creates a new directory in the current location.
Rem start - Starts the program in a new window, closing the CMD console.
Rem /High - Sets the program process to high priority class.
rd /s /q "cache"
md "cache"
rd /s /q "db\cache"
md "db\cache"
rd /s /q "db\day"
md "db\day"
rd /s /q "db\minute"
md "db\minute"
rd /s /q /"db\tick"
md "db\tick"
rd /s /q "log"
md "log"
rd /s /q "tmp"
md "tmp"
rd /s /q "trace"
md "trace"
start "NinjaTrader" /High "C:\Program Files\NinjaTrader 8\bin\NinjaTrader.exe"
Rem Additional Optimization Actions
Rem 1) Delete .sqlite File (NT v8.1) [or .sdf File (NT v8.0)] at Documents\NinjaTrader 8\db\NinjaTrader.sqlite
Rem 2) Reset Database: Disconnect Data Connection, then Control Center > Tools > Database Management > Reset DB

Comment