Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9699

Why does close price results have a date shift (one day off) while using GOOGLEFINANCE in a Query

$
0
0

I want to get last 40 days close price of stocks.

I used below formula for the same but the result not showing the last day close price.

=QUERY(
      GOOGLEFINANCE("nse:"&B2,"all",$A$2-80,81),
      "SELECT Col5 WHERE Col1 <= date '"&TEXT($A$2+1, "YYYY-MM-DD")&"' order by Col1 desc limit 40",False
       )

Where, B2 is ticker, A2 is Today()

It updates next day evening. I mean for example today is Friday 27 Sep 1:15 PM (India) but result is showing up to 25 Sep. Data for 26 will be shown today evening.

Can someone please help me out?


Viewing all articles
Browse latest Browse all 9699

Trending Articles