NexusFi: Find Your Edge


Home Menu

 





Workspaces taking too long to load


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 2 posts (0 thanks)
    2. looks_two flipper26 with 2 posts (0 thanks)
    3. looks_3 molecool with 1 posts (0 thanks)
    4. looks_4 monpere with 1 posts (3 thanks)
    1. trending_up 3,932 views
    2. thumb_up 5 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

Workspaces taking too long to load

  #1 (permalink)
 flipper26 
toronto, ontario/canada
 
Experience: Beginner
Platform: ninjatrader, mt4
Trading: TF, Currencies, ZS
Posts: 133 since Oct 2011

I just started having a problem with Workspaces in Ninjatrader. The workspaces were taking way too long to load. I noticed that the size of the workspaces was increasing even if only a minor change was made to a single chart - say a moving average was added or even deleted and then the workspace was saved. The size of the workspace would almost double with such a small change. Over the past couple of weeks basically the same workspace has grown from about 2 KB to 14 KB. I don't know what is causing this and it is quite frustrating as a simple workspace with only a few charts will take a long time to load, or in some cases I have to shutdown, reboot and create the workspace all over again.
I have repaired the database and reset the instruments but this hasn't helped. I do not save historical chart data or record for market replay.
My computer is a Dell XPS8300 desktop with i7-2600 processor and 16GB RAM. It is used primarily for trading so I don't think it's a computer issue.
If anyone knows what is causing this or has any suggestions it would be very much appreciated.
Thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

Check here:


Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 flipper26 
toronto, ontario/canada
 
Experience: Beginner
Platform: ninjatrader, mt4
Trading: TF, Currencies, ZS
Posts: 133 since Oct 2011


Mike, thanks for the link but I'm really interested in what Ninja is doing to my workspaces and why. It just doesn't make sense that they would explode in size the way they have when there's been really minimal changes to the charts. Speeding up the load would certainly help but doesn't resolve the cause of the problem.

Started this thread Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

They are just XML files, open them up and compare them side-by-side looking for changes.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,372


flipper26 View Post
I just started having a problem with Workspaces in Ninjatrader. The workspaces were taking way too long to load. I noticed that the size of the workspaces was increasing even if only a minor change was made to a single chart - say a moving average was added or even deleted and then the workspace was saved. The size of the workspace would almost double with such a small change. Over the past couple of weeks basically the same workspace has grown from about 2 KB to 14 KB. I don't know what is causing this and it is quite frustrating as a simple workspace with only a few charts will take a long time to load, or in some cases I have to shutdown, reboot and create the workspace all over again.
I have repaired the database and reset the instruments but this hasn't helped. I do not save historical chart data or record for market replay.
My computer is a Dell XPS8300 desktop with i7-2600 processor and 16GB RAM. It is used primarily for trading so I don't think it's a computer issue.
If anyone knows what is causing this or has any suggestions it would be very much appreciated.
Thanks

Sometimes workspaces get 'corrupted', and will not load, or even sometimes cause NT to not be able to start at all. Since XML files are parsed, I cannot understand how NT cannot detect an XML file with bad format or bad data. They must not be checking the file content as they read it, or they must be writing the corrupted data themselves. Also, sometimes an abnormal NT shutdown or crash will corrupt a workspace.

I generally copy a workspace XML file to a backup file as soon as I set it up, then I can restore the workspace from that backup file if I encounter any weird workspace issues.

Reply With Quote
  #6 (permalink)
 
bobarian's Avatar
 bobarian 
whitestone, new york
 
Experience: Intermediate
Platform: ninja trader
Posts: 1,995 since Oct 2010
Thanks Given: 5,258
Thanks Received: 3,120


monpere View Post
Sometimes workspaces get 'corrupted', and will not load, or even sometimes cause NT to not be able to start at all. Since XML files are parsed, I cannot understand how NT cannot detect an XML file with bad format or bad data. They must not be checking the file content as they read it, or they must be writing the corrupted data themselves. Also, sometimes an abnormal NT shutdown or crash will corrupt a workspace.

I generally copy a workspace XML file to a backup file as soon as I set it up, then I can restore the workspace from that backup file if I encounter any weird workspace issues.

hey Flipper,i had similar problems,and i had some corrupted data.I emailed support at nt,and they recommended some areas to start with.The first was the ninja cache,which i cleared.Also, in the ninja file,i remember having to work on some of the db andlog data.In the end ,i redid my workspace 3 times,which was annoying.

I dont know what caused thre corruption,but it might have been a bad xml file, or an indicator.Aslo,i was using momentum bars,and i switched bac to range bars.

Contact ninja support,and they are very helpful...hope this helps

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
molecool
Los Angeles
 
Posts: 10 since Sep 2010
Thanks Given: 1
Thanks Received: 8


monpere View Post
Sometimes workspaces get 'corrupted', and will not load, or even sometimes cause NT to not be able to start at all. Since XML files are parsed, I cannot understand how NT cannot detect an XML file with bad format or bad data. They must not be checking the file content as they read it, or they must be writing the corrupted data themselves. Also, sometimes an abnormal NT shutdown or crash will corrupt a workspace.

I generally copy a workspace XML file to a backup file as soon as I set it up, then I can restore the workspace from that backup file if I encounter any weird workspace issues.

I totally agree with you. It's been several years I have been waiting for a fix now and those XML corruption issues continue. I think they are simply writing out via a simple parser, meaning they are not verifying the nodes. Sometimes this causes corruptions and it will blow up NT on the way in. Not sure what to suggest - I myself am keeping backups of my workspaces but it's once again something we shouldn't have to do. Just like their data repository problems this is one of the areas where NT7 requires some refactoring. I have been waiting since 6.0 and perhaps 8.0 will get us there? ;-)

Reply With Quote




Last Updated on November 20, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts