When running historical quotes on any LSE stock, (with the *.L notation), historical() returns an extra day with null prices - see example below.
You can change the symbol between a US Stock, such as AAPL, and you won't get the additional day. It may be that yahoo doesn't provide a price for the most recent date in some cases (and in this example). Perhaps your code is expecting a number of days, and adding in the extra one - just a thought.
When running historical quotes on any LSE stock, (with the *.L notation), historical() returns an extra day with null prices - see example below.
You can change the symbol between a US Stock, such as AAPL, and you won't get the additional day. It may be that yahoo doesn't provide a price for the most recent date in some cases (and in this example). Perhaps your code is expecting a number of days, and adding in the extra one - just a thought.