Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
@bob7123
I am trying to set up the Ramdisk you mentioned and I'm curious. I want to move everything that is in the Documents\NinjaTrader folder to the ramdisk. Do I need to reinstall NT and redirect the installation to the ramdisk or if not, how do I set it up so NT knows to look for everything on the ramdisk?
Thanks,
Mike
Oh wait a second...I didn't read far enough. Looks like I need to get the LinkShellExtension
Basically, setup the ram disk (R:), then copy the contents of the NinjaTrader folder to R:\NinjaTrader. Then junction Documents\NinjaTrader -> R:\NinjaTrader.
Well I'm at a loss. Using junction.exe as mentioned in the first post of this thread, I ran into some problems. I created a ramdisk and created a folder called db on the ramdisk and copied all the data from the NT db folder to the ramdisk. then from a command prompt I issued the following command,
The link I put up was to a GUI tool. if you follow this link again, it has some pretty detailed instructions on how to work with it as an extension in windows file explorer.
Junctions are a bit tricky, but if you go slow and try a few things I think you can get it sorted.
Also, I don't want to be accused of telling you to do anything that can cause damage so please back up your system first. I like this tool.
The Link Shell Extension program (freeware) lets you create junctions and symbolic links without having to use the command line. I have been using it without any problems. I have not done any of these mapping operations with the command line.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
Two of the files that I moved to my RAM disk are the SQLServer CE database files, Ninjatrader and Ninjatrader.Old. But the symbolic link from the Ram Disk to the Ninjatrader db file keeps breaking, with Ninjatrader then creating a new Ninjatrader.Old.sdf file in the db folder. This is causing all kinds of problems, because the folder being created by Ninjatrader is conflicting with the Ninjatrader.sdf file on the RAM disk (Drive X).
Maybe this is because the period character is not permissible in the target file name. To test this idea I renamed the file on the RAM disk Ninjatrader_Old.sdf, replacing the period with an underscore. Then after creating the symbolic link to the db folder, I renamed that link back to Ninjatrader.Old.sdf, which is the file that the Ninjatrader application will be looking for.
So now, the name of the symbolic link is Ninjatrader.Old.SDF, but the TARGET (on the Link Properties page) is X:\db\Ninjatrader_Old.sdf.
It worked fine during first restart of Ninja, so next step is to see if the link is still there after I reboot the computer.
I would welcome comments or PM's from anyone else who is monkeying around with this stuff.
It is one of the few things that can be done to improve Ninjatrader's overall performance. The lack of interest is surprising.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
Guessing because the file is being recreated by Ninja. When it is re-created, it's probably written to a temp file, then original deleted (breaking sym link), then moved.
I just symlink the entire NinjaTrader 7 directory off of Program Files, never had a problem.