Skip to content
Prev 8506 / 15274 Next

QuantStrat Using ^NYA

Hi Dan,

You can do this with quantmod::setSymbolLookup.  It's mentioned in the
See Also section of ?getSymbols.  I mention this because it's my
favorite section to find functionality I may not be aware of.

Something like this should do the trick:
setSymbolLookup(NYA=list(name="^NYA",src="yahoo"))
stock.str <- "NYA"

Best,
--
Joshua Ulrich ?| ?FOSS Trading: www.fosstrading.com
On Sat, Sep 17, 2011 at 7:20 PM, Dan Avery <DAvery at marketingleverage.com> wrote: