Grids not saved to workspace.
Every time I create a grid and save the workspace on your new ProTraderMC and log out and log back in, the grids disappear. Seems like they are not saved at all.
The earlier version of ProTrader (Not ProTraderMC) had a similar issue with grids too. Sometimes it just crashed on exit after you modified a grid element (i.e. increased grid size) and those changes were gone when you logged back in. But at least sometimes it let you save the grid layouts. It was hit and miss with grids.
Hello, AminderG!
Thank you for your bug report.
We checked the panels saving (including Grid). If you save workspace with Grid, and then use log out, panels would be saved in the workspace.
If you close some panels (on the saved workspace) and then close the application, panels wouldn't be opened in the workspace because of the saving workspace at the closing application moment.
If you have some other problems - please write to us with an additional information.
With best wishes, QA Engineer.
Ok, I think you might be able to recreate the problem like this...
1. Create a chart and add Bollinger Bands to it.
2. Save this layout and set it as default.
3. Create a grid object. All the charts should now contain the default Bollinger Bands indicator.
4. Save the workspace.
5. Exit the application and restart the application.
6. Grid not displayed.
Check log file. Many such messages in the log file ...
->22.01.2016 23:42:39.819 <typ>System</typ> <src>None</src> <act>"Bollinger Bands"</act> <mes>23:42:39; A first chance exception of type 'System.NullReferenceException' occurred in "Bollinger Bands":Object reference not set to an instance of an object.; </mes> <rtr>0</rtr>
I got rid of Bollinger bands from the default layout. Created a grid object saved the workspace restarted the application and voila, the grid was there.
So the Bollinger bands object that you provide as a default is causing exceptions.
Repeat the above exercise by adding Exponential Moving Average instead of Bollinger Bands. Same problem, only this time the log file has the following messages ...
->22.01.2016 23:54:22.979 <typ>System</typ> <src>None</src> <act>Application closed.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:26.939 <typ>Updater</typ> <src>None</src> <act>Updater: Checking downloaded updates...</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:26.946 <typ>Updater</typ> <src>None</src> <act>Updater: Updates not found.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:27.000 <typ>Exception</typ> <src>None</src> <act>Collection was modified; enumeration operation may not execute.</act> <mes> at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at VSY=.8iY=.VSc=(Hashtable Vic=)</mes> <rtr>0</rtr>
->22.01.2016 23:54:27.177 <typ>System</typ> <src>None</src> <act>Application started...</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:27.347 <typ>Updater</typ> <src>None</src> <act>Updater: start check updates...</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:27.653 <typ>Updater</typ> <src>None</src> <act>Updater: 'Updates.txt' file downloaded succesfully.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:27.654 <typ>Updater</typ> <src>None</src> <act>Updater: updates already installed. Update skipped.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.052 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.190 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.341 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.480 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.621 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:29.835 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:30.010 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:30.158 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:30.303 <typ>System</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:31.595 <typ>Exception</typ> <src>None</src> <act>The remote name could not be resolved: 'api.hostip.info'</act> <mes> at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at VSY=.n30=.wH0=()</mes> <rtr>0</rtr>
->22.01.2016 23:54:31.842 <typ>Updater</typ> <src>None</src> <act>Updater: start check updates...</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:31.943 <typ>Updater</typ> <src>None</src> <act>Updater: 'Updates.txt' file downloaded succesfully.</act> <mes></mes> <rtr>0</rtr>
->22.01.2016 23:54:31.943 <typ>Updater</typ> <src>None</src> <act>Updater: updates already installed. Update skipped.</act> <mes></mes> <rtr>0</rtr>
Hope that helps.
Regards.
Further to my analysis above, I have done more tests and found that if you save a "Default Layout" which has any indicators in them then you will get the above problems.
The resolution until this bug is fixed is to create a default layout of your choice, which can then be used to generate the grids and then change the Default Layout back to contain no indicators. This way you will have grid charts with all the indicators in them without duplicating your efforts multiple times and your grids will load up on restart of the application.
Regards.
AminderG, thanks a lot for the additional information!
We have managed to recreate the situation you described (about the Grid problems). At the moment, we have sent this bug to the developers.
Please, write your email. We shall inform you as soon as the problem is solved.
Regards, QA Engineer.
P.S. The second problem, that you describe, will be resolved in this case too :
Bugs that have been described in this report (and your other report : https://protrader.org/forum/in-contact-with-trader/... ) are fixed.
Update (that include this fix) has been loaded at 25.01.2016.
AminderG, thanks a lot for your cooperation!
With best wishes, QA Engineer.
Hi, AminderG!
We are waiting for the fix of exceptions (Which arise in case of using indicators for Protrader Demo Connection) now.
The problems with an application crashing (on startup and saving) unfortunately weren't found.
We will glad for any additional information (about content of Workspaces, indicators for Chart or steps which lead to the problem), to recreate this problem.
Regards, QA Engineer.
Here is my layout:
I have 18 grid windows that live within the application. Each of these grid windows only has one chart in it. The reason for doing this is because unlike a chart window, I can rename a grid window to have a single character if I want, resulting in smaller tab sizes. Chart windows append the security name and the timeframe to the tab name which can be very long and annoying.Further, I have 6 grid windows that exist outside the application. Each grid window is a 3x3 matrix containing 9 securities in different timeframes.
Each chart, whether inside or floating outside the application (inside a grid) has the following indicators:
1. EMA
2. Bollinger Bands.
Hope that helps.
We have been trying to recreate the problem on the basis of this information, but the saving and opening client with 18 Grids (that include 1 Chart) and 6 Grids (outside the application with 3x3 matrix each one) occurs without crashing.
Please show us a screenshot of the error (with an error content) that occurs when a client crash.
Also, it would be useful to know the characteristics of your computer.
It's possible this information can help us.
Regards, QA Engineer.
For some reason the forum doesn't let me post an image ... keeps saying can't publish more than 3000 words.
Ok I'll just write it down instead:
I created a 6x5 grid of 1000 tick charts. Each chart as the following indicators:
1. EMA
2. Bollinger bands.
I pressed CTRL+S on the grid (not the main window).
Result = Crash
I have a suspicion that it might be something to do with the tick charts.
I have a reasonable computer with the following specs:
Intel Core i7-4700K CPU @ 4.00GHz
16GB memory
Plenty of HDD space.
ProtraderMC takes a good 1-2 minutes to load up and is very heavy on the CPU.
Hope that helps.
Now I get the following in the log. I'll break it down so I can publish them.
->30.01.2016 19:56:39.215 <typ>Updater</typ> <src>None</src> <act>Updater: Checking downloaded updates...</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:56:39.227 <typ>Updater</typ> <src>None</src> <act>Updater: Updates not found.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:56:40.177 <typ>Exception</typ> <src>None</src> <act>Collection was modified; enumeration operation may not execute.</act> <mes> at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at VCY=.8SY=.VCc=(Hashtable VSc=)</mes> <rtr>0</rtr>
->30.01.2016 19:56:40.556 <typ>System</typ> <src>None</src> <act>Application started...</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:56:41.019 <typ>Updater</typ> <src>None</src> <act>Updater: start check updates...</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:56:41.226 <typ>Updater</typ> <src>None</src> <act>Updater: 'Updates.txt' file downloaded succesfully.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:56:41.226 <typ>Updater</typ> <src>None</src> <act>Updater: updates already installed. Update skipped.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:12.949 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\USD,CAD\FX Route\1min\QUOTES\1453826700000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:14.944 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\GBP,USD\FX Route\1min\QUOTES\1453910700000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:16.727 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\GBP,USD\FX Route\1min\QUOTES\1453910700000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:21.337 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\USD,CHF\FX Route\1min\QUOTES\1453954200000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:27.721 <typ>Updater</typ> <src>None</src> <act>Updater: start check updates...</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:27.828 <typ>Updater</typ> <src>None</src> <act>Updater: 'Updates.txt' file downloaded succesfully.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:27.828 <typ>Updater</typ> <src>None</src> <act>Updater: updates already installed. Update skipped.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 19:57:32.544 <typ>Exception</typ> <src>None</src> <act>The remote name could not be resolved: 'api.hostip.info'</act> <mes> at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at VCY=.aH4=.iX4=()</mes> <rtr>0</rtr>
->30.01.2016 20:00:21.193 <typ>Exception</typ> <src>None</src> <act>Object reference not set to an instance of an object.</act> <mes> at Nn0=.WtI=.odI=()</mes> <rtr>0</rtr>
->30.01.2016 20:00:26.663 <typ>System</typ> <src>None</src> <act>"Bollinger Bands"</act> <mes>20:00:26; A first chance exception of type 'System.NullReferenceException' occurred in "Bollinger Bands":Object reference not set to an instance of an object.; </mes> <rtr>0</rtr>
->30.01.2016 20:00:26.663 <typ>System</typ> <src>None</src> <act>"Bollinger Bands"</act> <mes>20:00:26; A first chance exception of type 'System.NullReferenceException' occurred in "Bollinger Bands":Object reference not set to an instance of an object.; </mes> <rtr>0</rtr>
...
*******************************************************************************************************************
NOTE: I get hundreds and hundreds of the Bollinger Band exceptions.
*******************************************************************************************************************
The end of the log looks like this ....
->30.01.2016 20:02:51.087 <typ>System</typ> <src>None</src> <act>"Bollinger Bands"</act> <mes>20:02:51; A first chance exception of type 'System.NullReferenceException' occurred in "Bollinger Bands":Object reference not set to an instance of an object.; </mes> <rtr>0</rtr>
->30.01.2016 20:03:23.840 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\GBP,USD\FX Route\1min\QUOTES\1453790400000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:24.358 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\USD,CHF\FX Route\1min\QUOTES\1453713060000.zip"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:24.798 <typ>Exception</typ> <src>None</src> <act>History WrongFormatException occured in "..\5.9.82.20_80\EUR,GBP\FX Route\1min\QUOTES\1454031780000.pfq"</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:32.882 <typ>Updater</typ> <src>None</src> <act>Updater: start check updates...</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:32.984 <typ>Updater</typ> <src>None</src> <act>Updater: 'Updates.txt' file downloaded succesfully.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:32.984 <typ>Updater</typ> <src>None</src> <act>Updater: updates already installed. Update skipped.</act> <mes></mes> <rtr>0</rtr>
->30.01.2016 20:03:37.099 <typ>Exception</typ> <src>None</src> <act>The remote name could not be resolved: 'api.hostip.info'</act> <mes> at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at VCY=.aH4=.iX4=()</mes> <rtr>0</rtr>
Hi,
Thanks for getting back.
I've been using the new version. There are still issues with the platform crashing during saving and during exit.
Also, if the application is used for long enough it just freezes or crashes the computer.
I still get the exceptions I mentioned above in the log.
Having said that, the platform seems a bit more stable when a new chart or a grid is created or duplicated. It used to crash the application before.
Hope that helps.
Hi, AminderG.
Thanks for the feedback (and additionally for the comment of the application behavior in the absence of data).
We discussed the problem. We think that the reason for this behavior is hidden in a memory usage (in case of using a large amount of panels / data).
In order to ensure correct application work with using a large amount of panels, we are working on the x64 version of the client. You will be able to download it in the next release (~27 February) .
This version will solve the problems such as falling and freezing in case of using a large amount of panels / data.
We hope, it helps.
Regards, QA Engineer.
If it helps, I'm currently tracking 9 currency pairs in 7 different timeframes. So that's 7 grids with a 3x3 configuration. Further, I'm tracking each of the 9 currency pairs separately in a 3x2 grid. So I have a total of 16 grids with 63 + 54 = 117 charts.
The network bandwidth seems to be an average of about 6Mbps.
It might be the case that each separate chart is retrieving a separate stream of data.
If this is the case then it might be a better idea to only pull in data for the 9 currency pairs globally and then distribute this data to all the charts that need it.
Regards.
I just discovered that with regards to losing the drawings, I think what's happening is that the horizontal lines for instance are still there, but their values are getting assigned to 0 during a crash. There was a pile of them sitting at 0 - one for each one I created anew.
Regards.
Hi, AminderG.