Unable to return historical data for given security.
1 回表示 (過去 30 日間)
古いコメントを表示
I am working on a project for class and am getting this message when trying to pull data from Yahoo. When I run a script that just pulls the data it works, but when I try pulling the data of two symbols I get this error
Is there a way to have matlab ignore this error and continue the script if it can't find the data. Right now it halts running with this red error message
1 件のコメント
Oleg Komarov
2011 年 8 月 18 日
We need code and error message: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Also, please format them: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup#answer_18099
採用された回答
Oleg Komarov
2011 年 8 月 18 日
The note on yahoo.fetch says: "Retrieving historical data for multiple securities at one time is not supported for Yahoo. You can fetch historical data for only a single security at a time."
You should build a loop assigning the result to a cell array or structure.
0 件のコメント
その他の回答 (1 件)
Chris
2011 年 8 月 24 日
1 件のコメント
Oleg Komarov
2011 年 8 月 24 日
The connection could be lost during the retrieval or you could be asking for a stock which exist but not a that point in time.
参考
カテゴリ
Help Center および File Exchange で Financial Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!