Skip to content

Extract Data from Yahoo Finance

4 messages · R. Michael Weylandt, Deb Midya, Joshua Ulrich

#
Hi R ?users,
?
I am using R-2.14.0 on Windows XP.
?
May I request you to assist me for the following please.
?
I like to extract all the fields (example: a : Ask, b : Bid, ??, w : 52-week Range, x: Stock Exchange) ?for certain period of time, say, 1 October 2011 to 31 October 2011.
?
Is there any R-Package(s) & any R- script please?
?
Once again, thank you very much for the time you have given.
?
Regards,
?
Deb
#
The quantmod package can probably do what you are asking, but it's a
little hard to be certain since you provide neither a list of all the
fields you are actually talking about nor a link to the page with the
fields in question.

Michael
On Thu, Nov 3, 2011 at 12:02 AM, Deb Midya <debmidya at yahoo.com> wrote:
#
Deb,

See getQuote in the quantmod package.  For example:
getQuote("SPY")

Be sure to read ?getQuote.

Best,
--
Joshua Ulrich ?| ?FOSS Trading: www.fosstrading.com
On Thu, Nov 3, 2011 at 5:05 PM, Deb Midya <debmidya at yahoo.com> wrote: