- ago
There is a warning flagged by the Yahoo provider when it tries to parse the company name of certain Fidelity Select Sector mutual funds. What's strange is this only happens with certain funds, but not others; see screenshot. All the price data is returned successfully.

These errors only occur on the first attempt to fetch the data for the day.
0
550
5 Replies

Reply

Bookmark

Sort
- ago
#1
https://www.wealth-lab.com/Discussion/Error-collecting-Fundamentals-by-Yahoo-in-the-Log-9622
0
- ago
#2
Well, I only use Yahoo to get the 34 Fidelity Select Sector fund prices, and nothing more. I don't use Yahoo for fundamentals. I've never seen this Company Name error before until a few days ago. Moreover, I only see it on about 5 of the 34 Fidelity funds.

I can't explain why it only happens on 5 of the funds, and why it only started occurring a few days ago. Before then, everything worked fine.

Since the error is nondeterministic and problematic, I think you are saying a race condition is involved. Right? Perhaps you could add a 500mS timed wait, and then perform one retry. If it fails on the retry, then a warning should be reported.

I appreciate your point about Yahoo being a free service, so they don't want to spend money on faster servers to avoid nondeterministic race conditions, which is what this is apparently about. Thanks for that info.
0
- ago
#3
QUOTE:
I don't use Yahoo for fundamentals


🤦‍♂️ https://www.wealth-lab.com/Discussion/9622#post8
0
Henk8
- ago
#4
I tried to download the SPX (^spx) from Yahoo finance and i got two error messages mentionned hereunder.

Message 1
25/06/2024 09:11:48:963
Yahoo! Finance
Error collecting Fundamentals (^SPX): The format of value '<null>' is invalid.
FormatException
The format of value '<null>' is invalid.
at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, String value)
at System.Net.Http.Headers.HttpHeaders.Add(HeaderDescriptor descriptor, String value)
at WealthLab.Core.WLWebClient.AddHeader(String name, String value)
at WealthLab.Data.YahooProvider.CollectFundamentals(BarHistory bh, String queryParam, String itemName, Boolean isMutualFund)

Message 2

25/06/2024 09:11:48:964
Yahoo! Finance
Error getting company name( ^SPX): The format of value '<null>' is invalid.
FormatException
The format of value '<null>' is invalid.
at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, String value)
at System.Net.Http.Headers.HttpHeaders.Add(HeaderDescriptor descriptor, String value)
at WealthLab.Core.WLWebClient.AddHeader(String name, String value)
at WealthLab.Data.YahooProvider.GetCompanyName(String symbol)
0
- ago
#5
Re: Message 2

https://www.wealth-lab.com/Discussion/9622#post8

Re: Message 1

Committed a (likely) fix for this for B94.
0

Reply

Bookmark

Sort