- ago
Steps to repro:
1. a fresh(!) B135 run
2. run any strategy with any ticker specified

It will take 1-2 minutes with 100% load of 1-2 CPU cores just to load the data, instead of regular 2-3 seconds (so, around 50 times slower). Any subsequent runs / symbol loads will be as fast as usual.

Observations:
1. during those 1-2 minutes network is almost not used, but CPU is doing some hard work
2. if you wait until the end and change to any other symbol, it will be loaded almost instantly (like it was before). If you re-run the app, the same problem.
3. if you run a combo with 5 strategies, you will get 5x CPU load (~50% CPU for my 24 cores CPU)
4. same for WealthData and CryptoCompare providers (didn't check others)

Here is how it looks like for my 24 cores CPU:


I couldn't find any option to download B134. If you can provide me with a link, I will investigate if it's a problem specifically in B135.

Thank you
0
627
Solved
21 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
It will take 1-2 minutes with 100% load of 1-2 CPU cores just to load the data, instead of regular 2-3 seconds (so, around 50 times slower). Any subsequent runs / symbol loads will be as fast as usual.

That's likely because you're using one of the free Event Providers that's scraping fundamental data from some slow website. What I do is uncheck all the free event providers before downloading any morning data. Then initial data downloads go fast. (You can re-enable them later if you want to examine individual stocks for their fundamentals.)

If this is a real irritation, then your should consider subscribing to one of the paid fundamental event providers, which are much faster.
0
Glitch8
 ( 8.86% )
- ago
#2
Personally I'm not seeing this. Checking which Event Providers you have enabled is a good idea.
0
- ago
#3
Thank you for the suggestions.

I've never installed any free providers, so only default were selected. I unchecked all (Historical Providers and Event Providers tabs) except for WealthData - same stuff, extremely slow loading.

One strange thing is that I can't uncheck several specific ASCII files. When I uncheck - the app hangs for several minutes. Subsequent check/uncheck are instant (before the app is restarted). Some other ASCII files can be checked/unchecked instantly. Some cache corruption?

As I hadn't changed neither settings, nor providers before update to B135, can you please give me a link to B134, to make sure if it's the new build or not.

Addition: I isolated the problem, not all ETFs are equal, please try any daily strategy on SMH (WealthData), or Saylor Shiff on BTC.USD (Cryptocompare)

Thank you
0
- ago
#4
QUOTE:
I unchecked all (... Providers tabs) except for WealthData - same stuff, extremely slow loading.

So you're saying it's a WealthData problem with build 135. Interesting.
0
- ago
#5
QUOTE:
So you're saying it's a WealthData problem with build 135. Interesting.

I can't be sure, as I don't have B134 installer. It can be a very simple and effective (not to waste your time) check if someone gives me the previous build.

I've been using WL for 1.5 years ~5 hours a day on average. Never seen anything like that. Disabled antivirus, checked HDD health...
0
- ago
#6
Even simpler. Open Wealth-Lab -> new Chart -> enter SMH and press Enter, CPU starts to work hard, in 2 mins the data is loaded

Purged all SMH.QF / SMH.QX files, no luck
0
Glitch8
 ( 8.86% )
- ago
#7
It doesn't happen at my end, but I don't doubt you since I witnessed other strange and (so far) unexplained behavior on your computer running WL8. Anyone else seeing this?
0
- ago
#8
I donot see SMH from WealthData, only from Norgate.
0
Glitch8
 ( 8.86% )
- ago
#9
Right, SMH isn't covered, but it is available from QData.
0
- ago
#10
QUOTE:
I witnessed other strange and (so far) unexplained behavior on your computer running WL8.

I think that there may be some connection between the issues.

Some additional observations.

When I enter SMH in the Chart symbol name, it shows me a single option - Yahoo:


If I click on the (Yahoo:)SMH in the dropdown the data is fetched/depicted instantly. And if I get back to the editbox and enter "SMH", then press Enter, the same CPU load starts again:


Here is how it looks in the Task Manager:


After several minutes of high CPU load it finishes with Yahoo data:


Any consequent attempts to enter "SMH" and press Enter, or open another Chart window complete instantly.

So I believe there is some check of available data sources which consumes a LOT of CPU.

I could see the following error:


I was wondered to see this message, as my ASCII datasources don't contain SMH. So I disabled all ASCII datasets. After that everything works fine. I found a dataset that causes the problem, it's 15m set for SP500 (obviously no SMH there). Any attempt to turn it on or off in DataManger hangs the app for 5-7 mins. It's 6Gb of data. Nice to have a workaround, but the strange thing is that this data set was turned on for at least half a year, I never disabled any ASCII datasets after I added each of them.
0
- ago
#11
So I think the problem is caused by a big ASCII data set that is turned on and doesn't contain SMH. The app tries to find SMH and opens each file that takes a lot of time. It seems that the algo doesn't rely on ASCII file names (no SMH there), and reads/parses full 6Gb content. Seems to be a bit too meticulous.

The only unclear question is why it worked before. I don't remember the exact order of data sources before, but currently I see Yahoo as the last element in the list. So if the app looks for the first match, it first analyzes the big 15min data source with all those delays.
0
Glitch8
 ( 8.86% )
- ago
#12
Ok I can work with that! Let’s see if I can resolve this for the next Build cycle.
1
- ago
#13
I managed to find B133, same thing there. So I apologize for blaming B135.

As I didn't change the order of providers, the only possible reason for the behaviour was that I somehow disabled Q-Data which was right after WealthData. And as Yahoo was the last in the list, the app started to load all ASCII data.

Great that you can resolve this, thank you very much!

If you need some large sample data I can send it to you.
0
Glitch8
 ( 8.86% )
- ago
#14
That would help, zip it up and send it over via email.
0
- ago
#15
I sent an email to support@wealth-lab.com with the Topic "Slow ASCII market data". The file is ~700Mb, so I uploaded it to Google drive

Thanks
0
Glitch8
 ( 8.86% )
- ago
#16
Great, I have some changes in place, and I'll test them out with this.
1
Best Answer
- ago
#17
Could this be an issue?

0
Glitch8
 ( 8.86% )
- ago
#18
That looks unrelated, is this something you’re just recently experiencing?
0
- ago
#19
Not sure. When I am not having issues I don't go looking. ;)

But I am having the same issue as the OP.
0
- ago
#20
I seems that the issue only occurs with ASCII datasets on my system.
0
- ago
#21
Just tried the latest build, put the Cryptocompare data set in the end of the list (after all ASCII datasets), and run Saylor Schiff's strategy. Loaded the dataset very fast!

Thanks very much for the fixes!
0

Reply

Bookmark

Sort