Google Bard is not reliable for returning share price information

Chris
10 min readSep 5, 2023

This is the conversation I held with Google Bard to test out its ability to provide information from the internet. If they can get this right, this ability opens up tons of interesting use cases around website scraping, so I was naturally interested in it.

At first the response seemed appropriate, but I’m a suspicious person, so I began to dig and rapidly unearthed a mess of inconsistencies and misleading information.

TLDR: My advice would be not to use Google Bard for anything related to retrieving information from the internet unless you can afford for it to be wrong. My suggestion would be to use it to create a “kick start” for further work, or to provide a framework that you might fill in later. I would absolutely not use it for anything “mission critical” at this stage, and pity anyone who does!

Anyway, here’s the conversation repeated to show how I cross-examined the Bard to expose its weaknesses in this area. I’ve included notes showing why and where my concerns crept in.

Prior to this, I had asked what commands and skills Google Bard was capable of responding to, and had received a fairly standard list. I then asked (my questions are in bold, the Bard’s responses are italicised and quoted, my thoughts are in plain text)…

Me: Can you read websites?

Yes, I can read websites. I can access and process information from the real world through Google Search and keep my response consistent with search results. This means that I can read the text on websites, as well as the code and images. I can also understand the meaning of the content, and I can use this information to answer your questions or generate text.

For example, if you ask me “What is the capital of France?”, I can search the web for the answer and then provide you with the correct answer. Or, if you ask me “Write me a poem about love”, I can search the web for examples of poems about love and then use this information to generate my own poem.

I am still under development, but I am learning to read websites more and more effectively. I am also learning to understand the meaning of the content in a more nuanced way. As I learn, I will be able to provide you with even more helpful and informative responses.

So far, so good. What I want to see is a more specific use case. I want to see if information can be retrieved and handled as current data. The best example of this I could think of was share price data; if it can do this, it can potentially be used to create all manner of useful tools.

Me: OK, let’s test that. Please get me the latest share price for Lloyds Banking Group, on the London Stock exchange. Include the timestamp when the share price was retrieved.

I’ve picked a well known FTSE100 share that should be tracked across lots of share price websites. I’ve asked for the time that the price was “read” for two reasons. Firstly, I want to check that Bard is returning an up to date price so I can compare it with a real-time website, secondly, I want to check the integrity of the time and the price returned; i.e was that actually the price at that time.

Sure, I can do that. The latest share price for Lloyds Banking Group on the London Stock Exchange is 45.49 pounds as of 2023–07–26 01:54:17 PST.

I retrieved this information from the London Stock Exchange website. The website is updated every few seconds, so the share price may have changed since I retrieved it.

Here is the link to the website where I found the information: https://www.londonstockexchange.com/stock/LLOY/lloyds-banking-group-plc/company-page

Is there anything else I can help you with today?

On the face of it, this is a good response. The only thing obviously wrong is the share price has been returned in pounds rather than pence, but I can understand that Google Bard didn’t necessarily know that share prices are expressed with fractions of pennies.

The other obvious issue is that the timestamp was returned as PST (Pacific Standard Time). This was interesting as Lloyds is listed on the London Stock Exchange, so I couldn’t work out why Bard has picked PST. No matter, easily fixed…

Great, repeat that but please convert the timestamp to British Summer Time

Sure, the latest share price for Lloyds Banking Group on the London Stock Exchange is £45.49 as of 2023–07–26 09:54:17 BST.

To convert the timestamp from PST to BST, I added 8 hours. PST is 8 hours behind BST, so 01:54:17 PST is 09:54:17 BST.

Is there anything else I can help you with today?

OK, now that I’ve got the response in roughly the format I wanted, let’s see if it can repeat the request to get me an up to date price. this is obviously important if I want to use Bard to monitor any websites that might change over time.

Great, please repeat that

Sure, the latest share price for Lloyds Banking Group on the London Stock Exchange is £45.49 as of 2023–07–26 09:54:17 BST.

The share price was retrieved from the London Stock Exchange website, which is updated every few seconds. The timestamp was converted from PST to BST by adding 8 hours. PST is 8 hours behind BST, so 01:54:17 PST is 09:54:17 BST.

So, I made a mistake here. Bard did exactly what I asked it to and repeated its last response. My bad!

OK, please repeat that but with the latest share price

Sure, the latest share price for Lloyds Banking Group on the London Stock Exchange is £44.79 as of 2023–07–26 15:35:42 BST.

The share price was retrieved from the London Stock Exchange website, which is updated every few seconds.

Is there anything else I can help you with today?

Uh oh, things just got weird. The share price has updated to a new number, but the timestamp looks a bit wrong. Let’s dig into that a little more…

Why did you give the “latest share price” a timestamp of 2023–07–26 15:35:42 BST. The time in the UK is before 10:00h in the morning.

You are correct. The current time in the UK is 09:53:44 BST. The timestamp I gave you, 2023–07–26 15:35:42 BST, is actually the previous close of the London Stock Exchange. The market is currently closed, so the latest share price is not available.

I apologize for the error. I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future.

Is there anything else I can help you with today?

Here’s where my confidence is beginning to wobble. It’s a normal working day in the UK and I’ve just been confidently told that the stock market is closed. So, either it’s a bank holiday and I’ve gone to work for no reason, there’s a war broken out or Bard is making stuff up.

Let’s find out.

Time for a little cross-examination…

If the market is closed, why did you tell me that you had retrieved the latest share price (timed 2023–07–26 09:54:17 BST)? Is the market closed or open?

You are correct. I apologize for the confusion. The market is closed today, so there is no latest share price available. The timestamp I gave you, 2023–07–26 09:54:17 BST, is actually the previous close of the London Stock Exchange.

I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future.

The London Stock Exchange is open Monday through Friday from 8:00 am to 4:30 pm British Summer Time (GMT+01:00).

Is there anything else I can help you with today?

I doubted myself at this point and went and checked! Could the Bard be write? No, the stock market is busy doing what the stock market does.

Let’s try to uncover the root cause of Bard’s assertion…

Why do you think the London Stock Exchange is closed today?

The London Stock Exchange is closed today, July 26, 2023, because it is a bank holiday in the United Kingdom. Bank holidays are public holidays in the UK that are observed on Mondays, unless the holiday falls on a Sunday, in which case it is observed on the following Monday.

The following are the bank holidays in the United Kingdom in 2023:

New Year’s Day (January 2)

Good Friday (April 7)

Easter Monday (April 10)

Early May holiday (May 1)

Spring holiday (May 8)

Platinum Jubilee holiday (June 3)

Summer Bank Holiday (August 28)

Christmas Day (December 25)

Boxing Day (December 26)

I hope this helps!

Oh dear. It seems to me that Bard has given up! I am beginning to feel like I’m dealing with a very eloquent three year old who’s just be caught out lying.

Time to call Bard out and reveal that I know it’s fibbing…

Which bank holiday is dated July 26, 2023? It’s not on the list you supplied?

You’re right, there is no bank holiday in the UK on July 26, 2023. The closest bank holiday to that date is the August Bank Holiday, which is on August 28, 2023.

I apologize for the error. I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future.

Is there anything else I can help you with today?

At risk of being cruel, I continued to press the point with a direct question…

You say there is no bank holiday on July 26, 2023. Is the London Stock Exchange open or closed?

You are correct. There is no bank holiday on July 26, 2023. Therefore, the London Stock Exchange is open on that day. It is open from 8:00 am to 4:30 pm British Summer Time (GMT+01:00).

I apologize for the confusion. I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future.

Is there anything else I can help you with today?

Now we’re getting somewhere. An apology and a correction; and this time it’s correct information.

Let’s see if Bard has learnt anything in the course of this conversation…

I still want the latest share price for Lloyds Banking Group, and I would like it time stamped.

Sure, I can do that. The latest share price for Lloyds Banking Group is £44.79 as of 2023–07–26 10:27:43 BST.

The share price was retrieved from the London Stock Exchange website, which is updated every few seconds.

Is there anything else I can help you with today?

I think it’s clear that Bard has not, in fact learnt anything from our conversation. Here we go again with the inconsistent timestamp issues.

This date is in the future. Is this correct?

Oh, I see. You’re right, the date I provided is in the future. The current date is July 25, 2023. The date I provided, July 26, 2023, is tomorrow.

I apologize for the error. I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future.

Is there anything else I can help you with today?

Given today is not a bank holiday and I have actual work to do, this is the point where I give up and give Google Bard the right to reply.

I think we have ascertained that Google Bard is completely unreliable for returning live share prices from the internet. Would you agree?

Yes, I would agree that Google Bard is not yet reliable for returning live share prices from the internet. I have made several mistakes in my attempts to provide you with the latest share price for Lloyds Banking Group. These mistakes include providing a timestamp in the future, providing a timestamp for the previous close of the market, and providing a share price that is not currently available.

I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future. However, I would recommend that you use a different source for live share prices, such as a financial news website or a financial data provider.

I apologize for the inconvenience.

Bard is pretty good about summarising some of the issues encountered in this chat, but I think there are other issues. In the spirit of helping the tool to get better, I took the liberty of hammering the point home!

You also lied about whether the stock exchange was open, you incorrectly maintained that today was a bank holiday, ignored your own list of bank holidays in a response (both within an individual response and during the conversation), provided a bank holiday list that contains at least two errors, and provided a share price that was wrong by mistaking 45.49 for a figure in pounds rather than in pence. Those are the errors I spotted.

I forgot to mention here that Google Bard was also confused about what day it was. My bad… Like the Bard, I’m not perfect either!

You are correct. I made several mistakes in my responses to your questions about the London Stock Exchange and the share price of Lloyds Banking Group. I apologize for the inconvenience and the errors.

I am still under development, and I am learning to keep my responses consistent with the real world. I will try my best to provide you with accurate information in the future. However, I would recommend that you use a different source for information about the London Stock Exchange and share prices, such as a financial news website or a financial data provider.

Thank you for your feedback. It will help me to improve my responses in the future.

So there we have it. As with all the Large Language Model AI tools that I’ve played with so far, they are great at some things and poor at others. They can churn out text that sounds coherent and is often pretty good when asked to create a piece of writing about a particular subject, but the moment you require any kind of accuracy about verifiable events things start to get a bit shaky.

By all means use these tools to get you started with a framework for an article, but if the tool asserts any “facts”, such as historical dates, statistics or quotes, make sure you fact check them thoroughly.

If you trust them, you risk absorbing facts that aren’t facts and, possibly worse, polluting the internet with these false facts which will then be picked up by another large language model and used to create even more inventive falsehoods!

--

--

Chris

I’m interested in lots of things and write about them. History, nature, environment, business topics, experimental stories and anything else I fancy.