• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RC1 and "loading data" crashes

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • adamus
    started a topic RC1 and "loading data" crashes

    RC1 and "loading data" crashes

    This has happened three times today so I don't think it's just bad luck, I've not seen NT act this way before more than once a month, so I suspect there is something wrong in NT7betaRC1.

    I have about 20 forex pairs in the Market Anaylzer with an indicator column, reading the feed from IB.

    I also have one chart window open. I switched to $GBPUSD and expected to see an instantaneous display of the latest bars because GBPUSD is set up in the Market Analyzer.

    However "loading..." appeared in the CC status line, and then after a few minutes the chart went blank with the message in the top left corner "loading data". After a few seconds the windows changed to "Not responding" and NT had obviously crashed.

    After 15 mins, several dialog boxes appeared and the one on top was the Windows "this program appears to have crashed, send data about NinjaTrader to Microsoft?".

    I clicked "close" and it all shut down and I now I am sending you the traces and logs.
    Attached Files

  • NinjaTrader_Jason
    replied
    Unfortunately I have no idea why NinjaTrader gets stuck on 'Loading data' on your end.

    Leave a comment:


  • adamus
    replied
    Originally posted by NinjaTrader_Jason View Post
    I did add them fresh the first test and the prior tests as well. Only during the additional test I restarted NinjaTrader and did not remove and re-add the strategies.
    In that case the additional test you did couldn't be expected to demonstrate what I am seeing.

    If you are giving up, then perhaps you can say what your opinion is about the cause of the bug - it might help me waste less time with this if/when it happens again in future.

    Thanks

    Leave a comment:


  • NinjaTrader_Jason
    replied
    I did add them fresh the first test and the prior tests as well. Only during the additional test I restarted NinjaTrader and did not remove and re-add the strategies.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    the point I am trying to make about adding the strategies fresh is that this is the key trigger of the bug. If you can load data for all instruments and go back and reload the first without it hanging, then the bug obviously hasn't been triggered. At that point you should delete the strategies and add them back in again if you want a chance of triggering the bug.

    This is what happened to me. NT was working fine for over a week and then as soon as I had deleted and re-added the strategies, the bug appeared and it took me hours to get NT back to a stable state - I kept seeing the hanging on "Loading data" over and over again until I figured out how to work around it.

    And don't forget, this is not the first occurrence - the bug appeared before and caused hours of trouble.

    At the moment, I suspect that you may not be reproducing the exact situation that I have, so I would appreciate it if you could try it again.

    Thanks

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello adamus,

    During my first test I added the strategies fresh. However once I restarted NinjaTrader, I did not remove and add the strategies in the Strategies-tab. However data was being loaded for the strategies when I enabled them. Please note that I did not enable the strategies during the first test.

    I did not experience the loading time of 30 seconds as hanging of the software. In such a situation it can take 30 seconds. Please be aware that data is loaded for the instruments in the Market Analyzer itself as well when I select 4 instruments in quick succession. The chart loads the first instrument fairly quick. It does not display the 2nd and 3rd instrument and eventually loads and displays the 4th instrument I selected.

    I did not notice such information blinking in the lower right corner of the Control Center.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    I assume you are deleting and recreating those stratgies before you try it? In fact, I deleted all my strategies completely so there were none there at all, and then I recreated them.

    The 30 second hang is interesting. It's almost crashing but then recovers. I haven't seen this. Did you notice whether the status line in the Control Centre bottom right corner was blinking with the "Loading data .... $EURCAD (20/11/2010 - 20/11/2010)" message, at quite high frequency, approx 4 or 5 times a second?

    I don't know whether waiting or not waiting for the Market Analyzer to finish loading its rows is relevant. Mostly I waited for the Market Analyzer to finish. I didn't use any Market Analyzer actions to start charts.

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello adamus,

    I imported the strategy on my end and performed the instructions at #44 once more. Unfortunately I cannot reproduce the issue.

    I selected 6 instruments in my chart manually through the instrument drop down menu in the chart toolbar. During this time, data was being loaded for the Market Analyzer as well.

    Subsequently I windowlinked the Market Analyzer to the chart and switched instruments that way. I even rapidly selected 4 instruments in the Market Analyzer. The chart loaded the first instrument I selected and then indicated 'Loading data'. However after about 30 seconds the 4th instrument I selected was loaded and displayed.

    I restarted NinjaTrader and connected to both connections again. This time I enabled the strategy for all instruments in my instrument list as well. At this point data is being loaded in the Market Analyzer and the strategies. I switched instruments in the chart again, however it does not get stuck on 'Loading data'.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    I just emailed you the strategy - let's hope it causes the problem.

    Thanks

    Leave a comment:


  • NinjaTrader_Jason
    replied
    No, I am not on Windows 7 64 bit - I have Windows 7 32 bit. However I do not see it relevant.

    I tested the new steps you provided. During the switching of instruments, data was being loaded in the Market Analyzer the same time. I selected 6 different instruments in the chart before I selected the initial instrument.

    Unfortunately I did not experience the issue once I selected the initial instrument again in the chart. The Market Analyzer was still loading data at this point and eventually finished.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    that's disappointing.

    A couple of things though - are you on Windows 7 64bit? I am, could it be relevant?

    Also, please try it again but set your Market Analyzer ATR column to 1 day bar / 21 bars, and the chart to 60min bars and 14 days and then go like this:

    delete the strategies, exit and restart NT, connect to IB and IQFeed and then recreate the strategies. This time, don't start them. Just change to the chart window, and select each instrument in your default list in turn. At least 5. And then reselect the previous instrument you selected.

    It seems to me that there is a definite connection between new strategies even when not running, and the hang-ups that happen selecting the instruments.

    At some point after setting up the strategies for the first time, this problem just disappears and I can use the charts again freely.

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello adamus,

    I tested it on my end, but unfortunately I cannot reproduce the lock up.

    I created both connections and saved a workspace with a chart and Market Analyzer. I added an ATR column in the Market Analyzer with a period type of 1 minute and I used 50 bars to look back at.

    I connected to IB first and IQFeed second. Once connected, I see the requested data by the chart and Market Analyzer being loaded. My Default instrument list contains 36 instruments. Some are not authorized by both my connections. I receive error messages as expected for these instruments, but it continued to load data for the other instruments.

    I continued by setting up the SampleMACrossover on all instruments in my Default instrument list. Once I had all strategies selected, it was loading the last 5 instruments in my default instrument list in the Market Analyzer. I enabled all strategies at once and data started being loaded for those as well. NinjaTrader did not get stuck on loading data.

    Subsequently I selected the chart and switched instruments as you describe. When data was being loaded for instrument #2 (instrument #1 is still reflected in the chart at this point) and I select instrument #1 again, it generated an error message that states you cannot add/change/remove a Data Series until the prior request has completed loading historical data. However I was not able to reproduce the issue. All data authorized by my connections loaded without error.

    Leave a comment:


  • NinjaTrader_Jason
    replied
    Hello adamus,

    Thank you for providing these steps. I will test it on my end and let you know.

    Leave a comment:


  • adamus
    replied
    Hi Jason,

    what you need to do to reproduce the situation is:

    - set up an IB connection with no historical data allowed
    - set up an IQFeed connection.
    - open a chart window and select the first instrument in your default list.
    - open a market analyzer window and add all the instruments in your default list, plus an indicator column, e.g. ATR
    - save your workspace.
    - close NT.
    - open NT and connect first to IB, and then to IQFeed
    - set up a strategy on all the instruments in your default list. Configure them with at least 5 days data to load, and 50 bars required.
    - now the strats are new, select all of them in a highlight and enable them in one go.
    - if that doesn't hang already, then change to your chart window. This should show the first instrument in your default list.
    - select the second instrument. And then select the first instrument again. This should hang, with the message in the Control Centre bottom right blinking at you.

    Leave a comment:


  • NinjaTrader_Jason
    replied
    I create a new chart which loads the requested data for the instrument selected. Subsequently I select another instrument, which loads data as well. Then, I select the original instrument again. The data is displayed as expected and does not get stuck on 'Loading data'.

    I tested it with 2 to 5 different instruments in between on sereval occassions. I also briefly tested it using a windowlinked Market Analyzer.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Duval, Today, 08:38 AM
0 responses
6 views
0 likes
Last Post Duval
by Duval
 
Started by i2w8am9ii2, 02-13-2019, 04:28 PM
7 responses
61 views
0 likes
Last Post sledge
by sledge
 
Started by woodyfox, Yesterday, 08:33 PM
0 responses
7 views
0 likes
Last Post woodyfox  
Started by rblunsom, Yesterday, 11:19 AM
2 responses
29 views
0 likes
Last Post guidoisot  
Started by drewski1980, Yesterday, 02:38 PM
1 response
22 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X