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,333 / 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)

  #101 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received

I ran into stability problems with NinjaTrader on a ramdisk, and definitely would not recommend.

I would try and solve the PrimoCache problem instead. Has been fine for me so far.

Sent from my LG Optimus G Pro

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #102 (permalink)
Banned: trolling
NYC + NY / USA
 
Futures Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Favorite Futures: EMD, 6J, ZB
 
kronie's Avatar
 
Posts: 798 since Oct 2009
Thanks: 216 given, 498 received

strangest thing happens....


kronie View Post
win 7 x64 ultimate

actually the ramdisk lumps in the 4GB memory stick of the 8GB system memory, with all the other un-accessed memory of the 1st 4GB memory stick, and manages it as one block, surprisingly

fortunately I didn't go as far a BSOD, but the resulting system lock up caused the power button to be the only way of recovery and subsequent invokation of Ninja to be avoided, effectively locking up the system

either way to Sunday, these are in the hind-sight mirror a few miles back.

worthy of note, because Ninja is not consistent and has not been in their reference to files and locations within their directories and sub-directories, simply moving enmasse entire sub-components of these directories does not work. Junctions of a higher level directory "in theory" makes access to any lower level directory redirected. Because of the direct references in code, xml and other means within their code, and other templates, processes and schemas, its next to impossible to move the "bin" master directory to ram. By extention, its impossible to move the entire NT directory structure to ram. However, because of indirect access to the "\db" directories, moving that entire master directory works almost without problems.


more findings to be released, I'm 85% there.



one thing I noticed is when launching or changing or initalizing / serializing a workspace, Ninja gets stuck in a repetitive loop without handlers and as such will remain there adnauseum or for hours unless forced shutdown. watching the handlers and processes shows that pattern

strangest thing happens.....

if you care to look, you'll see and probably confirm that inspite of the "junction" to the highest level directory "\db", Ninja, creates a HDD copy of the "\db" in the C:\%userprofile%\My Documents\NinjaTrader7\db folder all over again.

I am not sure whether its using the redirect (junction) or thinking that nothing exists and starts polling for data a new from the rithmic servers, hence backfilling all missing current tick, minute, day data, thus accounting for the delayed initial start-up.

I am convinced its using the [RamDisk]:\\db (junction) because of the speed at which partial control is returned, and partial fleshing out of the complex charts on the workspaces occurs.

It is regrettable that I will need to dumb down the workspace to an acceptable level that balances speed of loading with usage with availability.

After all, what's the benefit of a finely tuned Lamborgini only to drive over potholes? What's the benefit of having a ninja tuned and tweaked to perfection, only to miss live trading opportunities. The objective is balance with an emphasis on making money!, whether using $5 interval contraacts or $10 interval, or $12.50 or $25 interval contracts.

this may be a case where subsequent loads of the up to date database will load all workspaces faster, than the initial time

Reply With Quote
 
  #103 (permalink)
Elite Member
Birmingham UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
 
ratfink's Avatar
 
Posts: 3,340 since Dec 2012
Thanks: 11,283 given, 7,092 received


For most users I do not see the point in risking/working with RAM disk drives etc, they will see an order of magnitude greater improvement simply by going to Control Panels->System->Admin Tools->Services, double clicking on WindowsSearch and selecting Disable (it will normally be showing Automatic or Started), don't bother using Stop it will usually object. It will desist in its own time or after a reboot.

Checking in the Resource Manager before (if you can see SearchIndexer.exe in the list) and after you will never have seen your disk so quiet.

(Also the Ninja db node rebuild is a documented restart/fresh installation behaviour.) Deleting the db tree will get you a fresh (empty of user changes ...) database. Deleting any of the other sub folders in there is fine, if you don't need the historical data.

edit: just searched and spotted DT has mentioned this already in:
https://futures.io/ninjatrader/28518-ninjatrader-tunes.html#post352535

Travel Well

Last edited by ratfink; November 5th, 2013 at 03:58 AM. Reason: DT in Ninja Tunes already
Reply With Quote
The following user says Thank You to ratfink for this post:
 
  #104 (permalink)
Banned: trolling
NYC + NY / USA
 
Futures Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Favorite Futures: EMD, 6J, ZB
 
kronie's Avatar
 
Posts: 798 since Oct 2009
Thanks: 216 given, 498 received


ratfink View Post
For most users I do not see the point in risking/working with RAM disk drives etc, they will see an order of magnitude greater improvement simply by going to Control Panels->System->Admin Tools->Services, double clicking on WindowsSearch and selecting Disable (it will normally be showing Automatic or Started), don't bother using Stop it will usually object. It will desist in its own time or after a reboot.

Checking in the Resource Manager before (if you can see SearchIndexer.exe in the list) and after you will never have seen your disk so quiet.

(Also the Ninja db node rebuild is a documented restart/fresh installation behaviour.) Deleting the db tree will get you a fresh (empty of user changes ...) database. Deleting any of the other sub folders in there is fine, if you don't need the historical data.

edit: just searched and spotted DT has mentioned this already in:
https://futures.io/ninjatrader/28518-ninjatrader-tunes.html#post352535


those 2 tweaks are long past in the rear view mirror...

it is worth establishing a persistent (must be this type or its not worth losing your investment) ramdisk

moving the entire "\db" to ramdisk
establishing "junctions" on the primary and major sub-folders each
allowing for enough overall system memory (use no more than 67% available) or acquire more sticks...

it took a few reboots, to establish the pattern and let the system (both the win 7x64 and the ramdisk / junction / rebuild processes) learn, but once they did, I have never changed features on these workspaces so fast.

utto oh, ([ Lyrics] Katy Perry - ROAR - Oficial Video - YouTube)


I feel a song coming on.....

Reply With Quote
The following user says Thank You to kronie for this post:
 
  #105 (permalink)
Banned: trolling
NYC + NY / USA
 
Futures Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Favorite Futures: EMD, 6J, ZB
 
kronie's Avatar
 
Posts: 798 since Oct 2009
Thanks: 216 given, 498 received

5-fold increase in speed,

I am achieving things never thought possible with NT7, namely on one workspace that has 9 charts (each having at least 2 panels; one having 5 panels, one having 8 panels) and each panel having analytics was able to load, and while loading, some price charts became active while others were loading and I was able to change the linked T&S/Static Dome symbol and it actually changed before the entire workspace became fully active.

true multitasking, imagine that!

can't wait for NT8

I hear they'll have features like:
A) Tools\Options\Reset Live trades, just like the reset sim101 trades, now
B) a "kick yourself" button
C) a "print profits" strategy button

Reply With Quote
 
  #106 (permalink)
Banned: Rude and childish behavior
ny, ny
 
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 23 since Apr 2010
Thanks: 0 given, 8 received

I have been junctioning the db folder (only) to softPerfect RAMDISK for over 6 months now, it had never had a single problem.

OS is W7 x64 ultimate, 16GB RAM, 128GB Samsung SSD, i5-3.9Ghz CPU

Reply With Quote
 
  #107 (permalink)
Trading Apprentice
Toronto,Canada
 
Futures Experience: Advanced
Platform: ninjatrader
Broker/Data: Ninjatrader
Favorite Futures: futures (CL and ES),forex,Options
 
Posts: 36 since Aug 2011
Thanks: 14 given, 12 received


Beljevina View Post
@Guss, For the benefit of others, reading this perhaps down the road, were you able to make your situation better?

Thanks just saw your post.
haven't tried Ramdisk, just managed to play around with my charts

Reply With Quote
 
  #108 (permalink)
Banned: trolling
NYC + NY / USA
 
Futures Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Favorite Futures: EMD, 6J, ZB
 
kronie's Avatar
 
Posts: 798 since Oct 2009
Thanks: 216 given, 498 received

would be nice to hear from others on this topic of how they have implemented RamDisk for Ninja specifically

Reply With Quote
 
  #109 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received


kronie View Post
would be nice to hear from others on this topic of how they have implemented RamDisk for Ninja specifically

This 10 page thread isn't enough?

I advise against the ramdisk, I ran into problems that corrupted NinjaTrader. Read the thread for more info.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #110 (permalink)
Elite Member
New York, NY
 
Futures Experience: Intermediate
Platform: Sierra Chart, thinkorswim
Broker/Data: Amp-Rithmic/TT, IB
Favorite Futures: CL, GC, NQ
 
Posts: 569 since Nov 2010
Thanks: 1,797 given, 249 received


Not sure how it would translate over to NT, but for Sierrachart the engineers have stated that compared to a fast SSD, it makes no performance difference, other than perhaps marginally for initial loading of large files, but even that happens very quickly in a couple seconds, and only on initial startup. Not worth the stability risks.

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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

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 05:53 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-17 in 0.15 seconds with 20 queries on phoenix via your IP 54.163.210.170