Speeding up NinjaTrader with a RAM drive (ramdisk) - NinjaTrader | futures io social day trading
futures io futures trading


Speeding up NinjaTrader with a RAM drive (ramdisk)
Updated: Views / Replies:25,245 / 110
Created: by pawnbroker Attachments:6

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 6  
 
Thread Tools Search this Thread
 

Speeding up NinjaTrader with a RAM drive (ramdisk)

  #31 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Files as well as folders can be moved to RAM disk.

@vegasfoster asked:

Quoting 
Can you specify certain files to load into ram drive or does it have to be a folder?

Using LinkShellExtension, you can create symbolic links to files as well as folders.

So you could move your heavily used file onto the RAM disk, then create a symbolic link to it in its original location, which is the directory where you want your trading platform to think it should be. (The link source is the RAM drive, and you drop a symbolic link into the original directory).

Even if you don't use a RAM disk or an SSD, just having these files on their own hard disk might help performance by reducing I/O conflicts.

Disk caching will also help. I have been using Windows Ready Boost for months now without problems.

I'm surprised that there does not seem to be much activity in this thread. You get a big improvement in performance by making such simple changes, without having to buy anything. On Windows machines, this idea should work with any trading platform that has historical data stored in non volatile memory.


Last edited by Zondor; November 5th, 2012 at 07:38 PM.
Reply With Quote
The following 3 users say Thank You to Zondor for this post:
 
  #32 (permalink)
Elite Member
Amsterdam, The Netherlands
 
Futures Experience: Intermediate
Platform: Sierra, IRT, ToS, Ninja
Broker/Data: Stage 5
Favorite Futures: NQ
 
bob7123's Avatar
 
Posts: 586 since Oct 2011
Thanks: 109 given, 1,906 received


Zondor View Post
I'm surprised that there does not seem to be much activity in this thread. You get a big improvement in performance by making such simple changes, without having to buy anything. On Windows machines, this idea should work with any trading platform that has historical data stored in non volatile memory.

Well, it works and works well. Thanks to Pawnbroker for raising the idea. I'm not sure who else to tell or where else to mention it.

I LOVE your new avatar BTW. Are you selling copies? My ToS monkey could use a friend!

Reply With Quote
 
  #33 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Additional files to move to RAM partition


In the C:\Program Files (x86)\Ninjatrader7\db folder there are two text files, Instrument and Instrument.srv.
Moving these to the RAM disk, and creating symbolic links to them from their original location, seems to accelerate Ninjatrader startup.

Backup these files, and know how to get back to your original setup. If these files are damaged, Ninjatrader will not start.

If your system physical disk (usually Disk 0) is an HDD, but you also have one or more additional physical disks, set the RAMDisk to back up to a non-system disk so that creating the RAM disk backup images will not be competing for I/O with processes that use Disk 0.

Then you can set the RAMDisk to back up more often, since the backups will be faster and have less of an effect on other processes.

Latest test: Loaded nine complex workspaces, saved all of them, and restarted Ninjatrader with Kinetick set to connect automatically. Reload takes about three minutes.


Last edited by Zondor; November 10th, 2012 at 05:05 PM.
Reply With Quote
The following 2 users say Thank You to Zondor for this post:
 
  #34 (permalink)
Elite Member
California - USA/Rio grande do sul-Brasil.
 
Futures Experience: Intermediate
Platform: tradestation, ninja trader
Favorite Futures: Futuros
 
Posts: 88 since Apr 2011
Thanks: 851 given, 23 received

Zondor be possible, you make a small tutorial to install the Ram. Not sure how to do.
My platform freezes when it enters high volume, but put on (true) many indicators and remove many templates that I use, but still freezing.
Also takes several minutes to open the platform.

Excuse my written defective, thank you very much.

Felix

Reply With Quote
 
  #35 (permalink)
Elite Member
austin, texas
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: currency futures
 
Posts: 508 since Jan 2011
Thanks: 14 given, 231 received

information

Great information guys, what a great thread to help speed up Ninja. I have the same problem.

Thanks
Hector

Reply With Quote
 
  #36 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Putting the cart before the horse won't solve the problem.

@Felix trader, Ninjatrader is probably freezing because you are using poorly coded indicators that waste computer resources. The stupid, lazy coding methods that are so popular result in a condition that is like traveling 500 miles to end up across the street.

That's the first thing that needs to be fixed.

The RAMDisk setup makes Ninjatrader start up faster by letting the charts backfill from RAM rather than from a hard disk. There may be some improvement in real time performance after charts have loaded, but I don't think that will solve your problem.


Last edited by Zondor; November 11th, 2012 at 03:22 PM.
Reply With Quote
The following user says Thank You to Zondor for this post:
 
  #37 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,090 received

Just wanted to add that a cool feature of RAMdisks is that some of them allow you to use the 1 GB unused memory that you get on 4 GB 32 bit systems.

I use VSuite RAMdisk.

Reply With Quote
The following user says Thank You to gomi for this post:
 
  #38 (permalink)
Elite Member
Cheltenham
 
Futures Experience: Advanced
Platform: InvestorRT, NinjaTrader
Favorite Futures: ES
 
Posts: 54 since Jan 2012
Thanks: 8 given, 100 received

Indoor Fireworks

I plugged in an old iron and there was a bright flash and loud pop. I thought that my PC would be safe since I have a UPS, but that PC had shut down. On restarting the machine, the NinjaTrader content on my RAM disk was lost and the RAM disk backup file was empty.

I was disappointed that the backup created by the RAM disk software was no good, but I had a separate backup and that saved the day.

Bear in mind that a backup of your C: drive will probably only backup the links on the C: drive to the RAM disk (R: ), but not the directories and files on R:. It depends on how your backup software treats the link to the content on the RAM drive. Windows Backup does not follow the link, so it will backup the link, but not the data on the R: drive. If Windows Backup is set to backup C: and R:, then the content on both drives will be backed up.

My RAM disk saves its contents to c:\ramdisk\nt.img and that is included in my C: drive backup. I was able to restore an old img file to recover the R: drive content, but it would be better to backup R: directly, since the img file needs to be inactive to ensure a clean backup.

Reply With Quote
 
  #39 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Using different software now

Computer was locking up to the extent that could only be turned off with the power switch. Seemed to happen when doing a lot of web browsing with Ninja open. Browsers would lock up first, then Ninja, then Windows would freeze. This was after using Dataram RAMDisk for about two weeks with no problems until then.

Dataram RAMDisk is now being offered by AMD under their own brand name.
http://blogs.amd.com/play/2012/10/10/give-your-pc-a-boost-with-amd-radeon-ramdisk/

Switched to Softperfect RAMDisk, which is working OK so far. This one also allows persistent RAM disk saved to an image during regular intervals and upon shutdown.

RAMDisk : High-performance RAM Disk for Windows
  • Any number of RAM disks. In practice, up to 26 disks due to the number of drive letters available.
  • Any RAM disk size on 64-bit systems. Up to approximately 3.5 GB on 32-bit systems.
  • Persistent RAM disks with an associated on-disk image.
  • Volatile RAM disks whose content disappears on shutdown.
  • Built-in disk image manipulation tools.

Reply With Quote
The following 2 users say Thank You to Zondor for this post:
 
  #40 (permalink)
Elite Member
@ Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: FDAX
 
Posts: 440 since Nov 2011
Thanks: 254 given, 369 received

Reliable Software Vendor


It's very annoying if an important system software fails. I don't thrust any non-commercial software product in this environment. I'm with SuperSpeed RAMDisk Pro since several years at different systems in different environments (currently not using Ninja with that, because currently i've no speed issues at all). The product range of SuperSpeed is very broad and their have a deep knowledge how to do the things right. Many large companies use their software and they can't afford to release an unstable product.

Koepisch

Reply With Quote

Reply



futures io > > > > Speeding up NinjaTrader with a RAM drive (ramdisk)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
.....SEC May Ticket Speeding Traders kbit News and Current Events 0 February 23rd, 2012 04:08 PM
NT7.4 - RAM hog kashter NinjaTrader 40 April 14th, 2011 02:10 PM
Drive cory Off-Topic 3 October 1st, 2010 04:17 PM
ram nt7 vps MyTraderAdvisor NinjaTrader 5 August 18th, 2010 04:49 PM
Toyota Blames Driver Error for Unwanted Speeding Quick Summary News and Current Events 0 July 14th, 2010 03:20 AM


All times are GMT -4. The time now is 11:50 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 0.14 seconds with 20 queries on phoenix via your IP 54.234.255.29