[R-SIG-Finance] Using quantmod chartSeries for FRED data
Jeff Ryan
jeff.a.ryan at gmail.com
Sun Nov 16 16:49:33 CET 2008
Hello all,
Sorry for the late reply.
The r-forge version of quantmod has this TA issue fixed now. I should
have a new version ready prior to the beginning of December.
Jeff
On Sat, Nov 15, 2008 at 5:39 PM, Brian Lee Yung Rowe <brian at muxspace.com> wrote:
> Hello,
>
> I am using quantmod to download FRED data and would like to view the series
> using the chartSeries function, but I am getting an error.
>
>> getSymbols('M1', src='FRED')
>> class(M1)
> [1] "xts" "zoo"
>> chartSeries(Delt(M1), type='line')
> Error in sum(poss.new) : invalid 'type' (list) of argument
>> chartSeries(Delt(M1))
> Error in sum(poss.new) : invalid 'type' (list) of argument
>
> Based on the documentation it seems that this data should be supported:
> "Courtesy of as.xts it can handle any object that is time-series like,
> meaning R objects of class xts, zoo, timeSeries, its, ts, irts, and more!"
>
> According to ?quantmod, I am using:
> Version: 0.3-6
> Revision: 433
> Date: 2007-06-09
>
>
> Is this functionality supported or am I missing something?
>
> Thanks,
> Brian
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>
--
Jeffrey Ryan
jeffrey.ryan at insightalgo.com
ia: insight algorithmics
www.insightalgo.com
More information about the R-SIG-Finance
mailing list