0

The function STOCK("WTR") in numbers 6.2.1 works well, it returns as a value today 51.94US$ and it returns also an overview window.

However, when I use STOCKH("WTR",0,"29 Mar 2020") it returns "The requested historical date is invalid or is in the future".

a) I am assuming the abbreviation "WTR" is correct, as it works with the STOCK function. Is there a list of available options? -- I guess it is powered by yahoo, and there is a "WTR" in yahoo

b) Would "WTR.N" specify the stock exchange in New York City?

c) I've tried various flavours of the date string. However, it either tells me it's an invalid string or the above error message.

(d) for other stocks this works well, e.g., for "APC.F"

4
  • What are the arguments given for the STOCK() or STOCKH() function?
    – Solar Mike
    Commented Mar 31, 2020 at 8:12
  • @SolarMike See second paragraph :-)
    – nohillside
    Commented Mar 31, 2020 at 8:19
  • @nohillside that is no guarantee that the OP used all the arguments...
    – Solar Mike
    Commented Mar 31, 2020 at 8:36
  • @SolarMike "when I use STOCKH...", not sure how to read that differently (the distinction between "if" and "when" is difficult for native german speakers). But the issue is solved anyway now.
    – nohillside
    Commented Mar 31, 2020 at 8:53

1 Answer 1

1

The chart data for WTR on Yahoo Finance – which is indeed the data source – stops at February 24th, 2020.

So, there indeed seems to be no historical data for WTR after this date.

If you use "Feb 24 2020" as the date, Numbers shows the closing price perfectly fine.

Edit:

(a) Please note that STOCK("WTR") returns the price from January 30th, 2020.

(d) As a sidenote, STOCKH("APC.F",0,"29 Mar 2020") returns an error for me, which is correct as there is no trading in Frankfurt on weekends.

The function browser description recommends error handling by using IFERROR in front of the STOCKH function.

1
  • thanks @Gummibando! It did not occur that the last day WTR was available was Feb 24 2020. I guess it is renamed, and now "WTRG"
    – Claus
    Commented Mar 31, 2020 at 14:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .