Skip to content

Error in "blotter-package" example

4 messages · Worik, Joshua Ulrich

#
I installed blotter


install.packages("blotter",repos="http://R-Forge.R-project.org")


R version 2.11.1

And when I ran the example from blotter-package I got the error \:

 > updatePortf(Portfolio="p",Dates='2007-01')
Error in .updatePosPL(Portfolio = pname, Symbol = as.character(symbol),  :
   could not find function "getPrice"

I thought this might be useful.   Is this the correct place to send such 
emails or should I send them direct to Brian or somewhere else?

cheers
Worik
#
getPrice doesn't exist in quantmod until 0.3-14.  Please update
quantmod manually.  I'll change the blotter DESCRIPTION file to
reflect the dependency.
--
Joshua Ulrich ?| ?FOSS Trading: www.fosstrading.com
On Tue, Jan 25, 2011 at 3:21 PM, Worik <worik.stanton at gmail.com> wrote:
#
On Tue, Jan 25, 2011 at 3:27 PM, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:
blotter already depends on quantmod_0.3-14.  R-forge only creates
binary builds for the most recent major version of R (2.12.x).  Since
you're using 2.11.1, I'm guessing you're building from source.
Apparently the dependency isn't being picked up for some reason.
#
On 26/01/11 10:27, Joshua Ulrich wrote:
That did it

W