Skip to content
Prev 5276 / 15274 Next

Futures prices in quantmod?

^DJC and ^XAU have historical data, thus you can retrieve their data
with getSymbols.
http://finance.yahoo.com/q/hp?s=^DJC
http://finance.yahoo.com/q/hp?s=^XAU

Most other futures symbols on this page
http://finance.yahoo.com/futures?t=indices
do not have historical data, so you're limited to what you can
retrieve with getQuote.  For example:
http://finance.yahoo.com/q/hp?s=^DJS2

HTH,
Josh
--
http://www.fosstrading.com