[prev in list] [next in list] [prev in thread] [next in thread]
List: r-sig-finance
Subject: Re: [R-SIG-Finance] Blotter package - problem with example.
From: kafkaz <kafka () centras ! lt>
Date: 2010-02-28 22:11:55
Message-ID: 1267395115970-1573015.post () n4 ! nabble ! com
[Download RAW message or body]
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.
_______________________________________________
R-SIG-Finance@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.
-- Also note that this is not the r-help list where general R questions should go.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic