Yahoo fetch command fails with error "Error using yahoo/fetch. Unable to return historical data for given security".
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 21 Nov 2016
Réponse apportée : MathWorks Support Team
le 21 Nov 2016
I am using the datafeed toolbox to fetch data using a Yahoo connection.
I am getting the following error :
Error using yahoo/fetch.
Unable to return historical data for given security.
Why is this?
Réponse acceptée
MathWorks Support Team
le 21 Nov 2016
The fetch function for a Yahoo connection in the datafeed toolbox pulls data from the Yahoo Finance website which is publicly accessible.
If you see this error, the issue is likely due to unavailability for the requested data from Yahoo Finance.
Check to see if Yahoo Finance itself displays the relevant data for the given security to confirm if this is the case.
To do this, append the ticker symbol to the URL below and open it in a web browser :
https://finance.yahoo.com/quote/
For example, to get a quote on the Facebook ticker (FB), the URL would be :
https://finance.yahoo.com/quote/FB
Similarly, for accessing the quote for Time Warner Cable (TWC) the URL is :
https://finance.yahoo.com/quote/TWC
However, the webpage says "Error 404. Symbol TWC not found. Try looking again."
This is because Time Warner Cable was acquired by another company and no longer trades using the "TWC" ticker symbol.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Money.Net dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!