Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+oJuEE7_bEbP4pCNwYs10_LxQAfLKxq3nPaOqYhEfT3Ooyt8g@mail.gmail.com>
Date: 2015-02-15T23:11:47Z
From: Ilya Kipnis
Subject: Gold
In-Reply-To: <54E123BE.1060908@comcast.net>

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]]