extract dates from yahoo finance - please help!
4 views (last 30 days)
Show older comments
I am trying to "scrape" stock data from yahoo finance. Although I am successful in extracting the stock prices, I am having difficulties in extracting the dates. I am using the following command without success:
dateField=regexp(historicalPriceFile, '<td class="yfnc_tabledata1" nowrap align="right">([\d\w-]+)</td>', 'tokens');
Please help!
Thank you in advance,
Chris
7 Comments
Answers (1)
Walter Roberson
on 25 Dec 2012
dateField=regexp(historicalPriceFile, '<td class="yfnc_tabledata1" nowrap align="right">([\w\s,]+)</td>', 'tokens');
... as discussed above.
0 Comments
See Also
Categories
Find more on Money.Net in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!