[R-SIG-Finance] Gold

Ilya Kipnis ilya.kipnis at gmail.com
Mon Feb 16 00:11:47 CET 2015


Robert,

You can get the GLD data from Yahoo Finance with:

require(quantmod)
getSymbols("GLD", from="1990-01-01")

Or, for the open-interest cross from quandl,

require(IKTrading)
CME_GC <- quandClean("CHRIS/CME_GC", start_date=from, end_date=to,
verbose=verbose) #Gold
Hope this helps.

-Ilya

On Sun, Feb 15, 2015 at 5:54 PM, Robert Sherry <rsherry8 at comcast.net> wrote:

>
> How do I get the current price of Gold using R?
>
> I thank the group in advance for their responses.
>
> Bob
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list