cmallwitz / Financials-Extension

Extension for LibreOffice Calc to access stock market data
Other
137 stars 17 forks source link

looks like Yahoo changed again #98

Closed criddle3 closed 1 month ago

criddle3 commented 5 months ago

=GETREALTIME(B4,21,"YAHOO") returns #N/A for all requests. As do Previous Close, Day Change, Percent Change

craig2sigma commented 3 months ago

I applied 3.5. The past several days with the old version took several minutes each time I did a refresh. This new version seem to be back to about the same speed as it was in the past. That's a win. So far not getting the massive failure on everything. Another win. I am seeing two pulls failing now though. The previous close, =GETREALTIME(B6,5,"YAHOO"), gives me #N/A for all rows. The percent change, =GETREALTIME(B6,11,"YAHOO"), is giving weird, inaccurate numbers and scattered #N/A

cmallwitz commented 3 months ago

What does your B6 cell contain?

13 Mar 2024 16:46:30 craig2sigma @.***>:

I applied 3.5. The past several days with the old version took several minutes each time I did a refresh. This new version seem to be back to about the same speed as it was in the past. That's a win. So far not getting the massive failure on everything. Another win. I am seeing two pulls failing now though. The previous close, =GETREALTIME(B6,5,"YAHOO"), gives me #N/A for all rows. The percent change, =GETREALTIME(B6,11,"YAHOO"), is giving weird, inaccurate numbers and scattered #N/A

— Reply to this email directly, view it on GitHub[https://github.com/cmallwitz/Financials-Extension/issues/98#issuecomment-1994726243], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AA226T44NZZSFC67SWLOPETYYBYFJAVCNFSM6AAAAABCSBV2VOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG4ZDMMRUGM]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/AA226T4IXWDKGZUK6IPAA7TYYBYFJA5CNFSM6AAAAABCSBV2VOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTW4UNWG.gif]

craig2sigma commented 3 months ago

The Stock Symbol. examples: PLTR NVDA

Durhammer3111 commented 3 months ago

I'm using 11 to get the % change and it's working fine for me. I use indirect addressing to get the cells with the tickers, but otherwise the same code.

craig2sigma commented 3 months ago

It looks like the %change values that did return are just 100x larger than before. If that's the case, easy fix on my end

Futur3H4wk commented 3 months ago

All good for me now, Thanks to all you smart hardworking types. Mostly I do crypto so Yahoo is my only option, my stock and IRA holdings are limited. Wish I had thought of changing my location with my VPN, but of course that is global to my system and some of my other software needs to be where it seems to be.

Futur3H4wk commented 3 months ago

I change the extention name before I add it, for exampe this on is Financials-Extension3-5-0.oxt and I don't have any trouble installing or using. But if a new one comes out it's hard to tell.

techman2423 commented 3 months ago

i installed 3.5.0 and some of the fields loaded but still having issues with some of the yahoo requests....here's a pic. "last price", % change is out of whack, and volume is working, but i got NA for the rest... Screenshot

techman2423 commented 3 months ago

I'm still getting these fields above (pic) that are #N/A...any ideas what i need to do?

Durhammer3111 commented 3 months ago

I opened a new instance of the Yahoo wackiness:

https://github.com/cmallwitz/Financials-Extension/issues/101

...but figure I oughta also mention it here. IT AIN'T WORKING, GANG!

Futur3H4wk commented 3 months ago

everything crashed again tonight. way to druck to troubleshoot. tag your it

estianic commented 3 months ago

Works fine here, but I guess that is because I still get the old style Yahoo Finance: https://finance.yahoo.com/about/whatsnew

@cmallwitz Old style quote pages can be accessed like this: https://finance.yahoo.com/quote/SPY?.neo_opt=0

Futur3H4wk commented 3 months ago

Working tonight

estianic commented 2 months ago

The inevitable has happened, Yahoo is now showing me the new Yahoo Finance layout. I can choose to go back to the classic layout, but that does not change the behaviour of the Financials-Extension.

LAST_PRICE still works fine CHANGE_IN_PERCENT works but the result is multiplied by 100 BID and ASK show #N/A

I haven't tried the other data points.

Example html file is attached.

iShares Semiconductor ETF (SOXX) Stock Price, News, Quote & History - Yahoo Finance.html.zip

Problem is the same as described in issue #101 by Durhammer3111. It looks like Yahoo is gradually moving users from the old to the new layout.

cmallwitz commented 2 months ago

Quick update: I'm in the process of reworking the Yahoo N/A issue....

Durhammer3111 commented 2 months ago

Huzzah!

⁣Get BlueMail for Android ​

On May 1, 2024, 4:16 AM, at 4:16 AM, cmallwitz @.***> wrote:

Quick update: I'm in the process of reworking the Yahoo N/A issue....

-- Reply to this email directly or view it on GitHub: https://github.com/cmallwitz/Financials-Extension/issues/98#issuecomment-2088137405 You are receiving this because you were mentioned.

Message ID: @.***>

cmallwitz commented 2 months ago

I published a new version 3.6.0 - if current version is working for you, I would wait with the update. if you are getting loads of N/As at the moment, try this new version and let me know if things improve.

schmani-db commented 2 months ago

I published a new version 3.6.0 - if current version is working for you, I would wait with the update. if you are getting loads of N/As at the moment, try this new version and let me know if things improve.

Thanks a lot, the new version resolves the N/A issue!

Durhammer3111 commented 2 months ago

Very nice! And while I just tested after hours, it does seem to be a LOT quicker!!!!p

But wow, there's a marked difference in many of my tickers' dividends information between FT and Yahoo! -- FT seems more in line with what Fidelity shows, not that they're that accurate -- but still! I guess time will tell who's right....

Fantastic job, @cmallwitz !!! Don't know what you did to so greatly improve the speed (in addition to the #N/A issues), but it's now super fast!

As for the FT vs Yahoo dividend info, at least for one ticker (EQNR), I can see that Yahoo doesn't factor in special dividends, but FT does. Could be the same for others.

spacecatz03 commented 2 months ago

I didn't have any issues with N/A but tried new version, worksheet opens noticeably quicker now. Great job with this!

Durhammer3111 commented 1 month ago

Aaarrrggghhhh. Just as @spacecatz03 reported yesterday, today suddenly everything comes back #NA. I don't have the previous version to roll back to (maybe it's in the resources area, I'll check). Glad I kept my FT version, though the portfolio is way behind my trades now.

Okay, downloaded the 3.5.0 version, and limited joy. Current price and such are back to being fine, it takes a looong time to run, and things like market cap and dividend and earnings metrics are all back to #NA. Any ideas, @cmallwitz ?

Went back to 3.6.0, ran it (takes a long time now), no joy. Took a peek at the files in ~/.financials-extension and all the json files appear to be good, but from the last successful run (11:32 AM EDT this morning), whereas the html files are all later and goobered up with big symbols and nothing really readable.

cmallwitz commented 1 month ago

Closing this - try new version 3.6.1