Hi

I am trying to pass a stock's name as an argument to a function and then I
am trying to use getSymbols to get data. For example,
stock="AAPL"
stock = getSymbols(stock) returns "AAPL"
But, if I do an OHLC(stock) it cribs. Also colnames(stock) returns NULL as
stock is still considered a string rather than an AAPL. How do I overcome
this problem pls?
Basically I want the variable stock to exactly mimic the returned object of
getSymbols().

Thanks
Raghu

	[[alternative HTML version deleted]]

