Showing posts with label Outage. Show all posts
Showing posts with label Outage. Show all posts

Friday, May 5, 2023

SMF issue with Yahoo Portfolio

 Many of the users in https://groups.google.com/g/smf-addin reported yesterday that there were issues with the smfGetYahooPortfolioView module.

 One user noted that if the v7 in the URL = "https://query1.finance.yahoo.com/v7/finance/quote" was changed to v6 it works.

The v7 is used in 14 occurrences throughout the code base and in the following modules (occurrences):

  • smfGetOptionExpirations (1)
  • smfGetOptionStrikes (3)
  • RCHGetYahooHistory2 (1)
  • smfGetYahooJSONField (1)
  • RCHGetYahooQuotes (2)
  • smfGetYahooHistory (1)
  • smfGetYahooHistoryCSV (2)
  • smfGetYahooPortfolioView (1)
  • RCHGetYahooQuotes-Function.htm (web documentation)
  • smf-elements-22.txt (elements file for module RCHGetElementNumber)

 I think RCHGetYahooHistory2 is no longer in use.  I should look at removing some of that deprecated code, but it will be a lot of work the way everything is so intertwined.

Once I check these modules to see if the change in URL should be done for all, I will create a new add-in version and upload it to the website: https://climbermel.github.io/SMF_Add-in/

Wednesday, April 19, 2023

smfGetYahooPortfolioView not returning data

 Yahoo Portfolio View has stopped working


smfGetYahooPortfolioView was returning no data.  I was unable to log into portfolio view at Yahoo and the error returned was "unauthorized" when trying to get the json data.

There is also a notice of Portfolio 2.0 coming...

 Checking the code and the URL being created is also nott working if manually entered into a browser.

Here are some of the URLs I was testing with:

https://query1.finance.yahoo.com/v7/finance/quote?fields=" & sFieldList & "&formatted=false&symbols=" & replace(sTickers, ",XXXXX", "")

https://query1.finance.yahoo.com/v7/finance/quote?fields=longName,shortName,quoteSourceName,regularMarketPrice,regularMarketTime,regularMarketChange,twoHundredDayAverage,fiftyTwoWeekRange&formatted=false&symbols=MMM,ED,MCD,NWN,SPHD,XOM,XOM160812C0008650"

"https://query1.finance.yahoo.com/v7/finance/quote?fields=longName,shortName&formatted=false&symbols=AAPL"

"https://query1.finance.yahoo.com/v10/finance/quoteSummary/MMM?modules=financialData"

https://query1.finance.yahoo.com/v10/finance/quoteSummary/AAPL?modules=financialData

https://query1.finance.yahoo.com/v7/finance/quote?fields=longName,shortName&formatted=false&symbols=AAPL

The v10 was returning json data.


SMF new Add-In version 3.0.2024.04.29

  This new release has fixes for: module smfGetOptionQuotes A member (Bruce) found the issue was with the crumb processing and provided cod...