Hello all,

I just run the examples from the quantstrat package and
received following error for every example:
----------
[1] "2007-02-26 IBM 100 @ 96.91"
Error in if (getPosQty(Portfolio = portfolio, Symbol = symbol, Date =
timestamp) ==  :
  argument is of length zero
In addition: Warning messages:
1: In max(i) : no non-missing arguments to max; returning -Inf
2: In `[.xts`(PosData, index(PosData) < Date) :
  Incompatible methods ("Ops.POSIXt", "Ops.Date") for "<"
[1] "strat execution time:"
Time difference of 0.2813089 secs
[1] "updatePortf execution time:"
Time difference of 0.2385919 secs
Warning message:
In max(i) : no non-missing arguments to max; returning -Inf
----------

any ideas?

thanks,
Immanuel

_______________________________________________
[email protected] 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.

Reply via email to