Hi there


I am running demo(longtrend) but it is failing on initPortf (although the blotter package is loaded):


> ltportfolio='longtrend' > ltaccount='longtrend' > initPortf(ltportfolio,'GSPC', initDate=initDate) Error in exists(paste("portfolio", name, sep = "."), envir = .blotter,  :  object '.blotter' not found

Any ideas?  I also noticed that .instrument environment isn't found in my workspace, but I can use getInstrument!

> ls(envir=.instrument) Error in ls(envir = .instrument) : object '.instrument' not found > getInstrument('USD') primary_id :"USD"
currency   :"USD"
multiplier :1
tick_size  :0.01
identifiers: list()
type       :"currency" > ls(envir=.blotter) Error in ls(envir = .blotter) : object '.blotter' not found

Thanks

Peter

> sessionInfo() R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-mingw32/x64 (64-bit) locale:
[1] LC_COLLATE=English_Singapore.1252  LC_CTYPE=English_Singapore.1252   
[3] LC_MONETARY=English_Singapore.1252 LC_NUMERIC=C                      
[5] LC_TIME=English_Singapore.1252     attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base      other attached packages:
[1] blotter_0.8.8              FinancialInstrument_0.14.2 quantmod_0.3-17           
[4] TTR_0.21-1                 xts_0.8-6                  zoo_1.7-7                 
[7] Defaults_1.1-1             loaded via a namespace (and not attached):
[1] grid_2.15.0    lattice_0.20-6 tools_2.15.0 

	[[alternative HTML version deleted]]

