[R-SIG-Finance] Blotter package - problem with example.

kafkaz kafka at centras.lt
Sun Feb 28 23:11:55 CET 2010


Got another error:

updateAcct("aaa", Dates = as.Date(index(SPY.monthly[length(SPY.monthly)])))
Error: object 'CurrentSpan' not found
In addition: Warning message:
In max(i) : no non-missing arguments to max; returning -Inf

My proposal would be to implement the methods like
removeAccount/removePortfolio. 
My dirty solution:
rm(list=ls(envir=.blotter),envir=.blotter)
try(rm("ltaccount","ltportfolio","ClosePrice","CurrentDate","equity","GSPC","i","initDate","initEq","Posn","UnitSize","verbose"),silent=TRUE)


-- 
View this message in context: http://n4.nabble.com/Blotter-package-problem-with-example-tp1018634p1573015.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list