WLD crashes on misspelled symbols or symbols not in DataSet
Author: tomphm
Creation Date: 12/11/2020 10:01 PM
profile picture

tomphm

#1
When a symbol that is misspelled or ones that are not already existed in a given dataset entered into WLD Chart, WLD crashes. It just shut down without displays any messages.
profile picture

superticker

#2
I do not have this problem and I'm using IQFeed for my streaming, on-demand, and static data provider. Which data provider (for both streaming and static) are you using? I think this is a data provider problem and not a WL core problem; otherwise, we would all be seeing it.
profile picture

Eugene

#3
Like superticker suggests you should provide enough details to demonstrate something is not working. Your report lacks all the significant details:

1. Is this a chart window? Is it Streaming? Or is it a Strategy window? Is the problem specific to one of them or it affects every tool?
2. Which data providers are you using in this DataSet and for Streaming charts (see Preferences)?
3. Which symbols exactly are producing the crash?
profile picture

tomphm

#4
Sorry for not providing detail info on the last post. To answer Eugene's questions on post #3;

1. This crash occurs on a strategy window (An empty strategy (no entry/exit conditions) just a saving of some of the technical drawings on a chart to save me time so I don't have to enter the technical indicators on every restart of WLD. The strategy file content is shown below.

CODE:
Please log in to see this code.



1a. The technical indicators that I used on the chart are: SMA, LinearRegression, Average Price.

1b. If I open a new chart and plot the symbol in question and sequentially go through plotting each of the indicator above, WLD is fine. However, if I type in the symbol into the strategy, WLD first display "No Data Available" and in a second or two, it closes down.

1c. WLD crashes regardless whether streaming is on or off.

2. The data provider is for the data symbol and streaming is IQFeed

3. Those symbols that cause problem are the one that are not already in the dataset, for example some of the recent IPOs such as DASH, AI, ABNB, etc.,

Thanks.

profile picture

Cone

#5
Sure sounds like a problem with one of those indicators that isn't gracefully handling lack of data. If you would, open that strategy, use the "Push" button in the toolbar to create the code and post it here. (Then close that window without saving it so that you can continue to interact with the indicators.)
profile picture

tomphm

#6
Cone, the code is shown below. Thanks.

CODE:
Please log in to see this code.
profile picture

Eugene

#7
I couldn't repro the crash on these IPOs using Yahoo data. Let's see if Robert's more successful with IQFeed.
profile picture

Cone

#8
The source of the "non data" doesn't matter - the idea is that there's a bug in an indicator that doesn't get sufficient data to calculate. If you load a "bad symbol" that has "NO DATA", a Runtime Error is generated with this script, but it's innocuous in my experience. There may be a setting or preference that's doing it. If you want to pursue the issue, please create a support ticket, and let's go over all the settings one by one.
profile picture

Cone

#9
Ah ha!
But if I recreate the indicators by drag and drop and then run the script on "NO DATA", it does crash.

So, we have the workaround: Save your C# code version of the script that you posted above. Unfortunately this type of problem cannot get fixed in version 6.9.

I'd recommend that you modify the range of the sliders to values closer to those you're using, for example:
CODE:
Please log in to see this code.


Note!
Wealth-Lab 7 is entering beta testing probably next week and we expect to launch in the first quarter of 2021!
profile picture

tomphm

#10
Cone, That's great that you found the problem. I am not sure I understood the workaround that you mentioned. It's not a critical error for me, just that it is a bit bothersome when I missed typing a symbol, WL restarts. Thanks.
profile picture

Eugene

#11
Tom, the workaround as I understood it is to save your C# code above (with indicators) as a new Strategy and run this saved copy when you need to chart those IPOs.
profile picture

tomphm

#12
OK, thanks Eugene.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).