[R-SIG-Finance] Error using quantstrat walk.forward on windows, pls help.
Derek Wong
treydog999 at gmail.com
Tue Sep 16 20:36:09 CEST 2014
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 1.1
year 2014
month 07
day 10
svn rev 66115
language R
version.string R version 3.1.1 (2014-07-10)
nickname Sock it to Me
On Tue, Sep 16, 2014 at 1:32 PM, Joshua Ulrich <josh.m.ulrich at gmail.com>
wrote:
> What version / revision of quantstrat are you using? I've fixed
> several related issues in the past week or so.
> --
> Joshua Ulrich | about.me/joshuaulrich
> FOSS Trading | www.fosstrading.com
>
>
> On Tue, Sep 16, 2014 at 1:29 PM, Derek Wong <treydog999 at gmail.com> wrote:
> > Hello, I am having problems with the walk.forward function on windows. I
> am
> > recieve the error calling combine function. This also happens if i just
> try
> > to apply.paramset.
> >
> > error calling combine function:
> > <simpleError in fun(result.1, result.2, result.3, result.4, result.5,
> > result.6, result.7, result.8, result.9): attempt to select less than
> > one element>
> > numValues: 9, numResults: 9, stopped: TRUE
> > Error in walk.forward("pairStrat", paramset.label = "BBOPT",
> portfolio.st =
> > portfolio1.st, :
> > obj.func() returned empty result
> > In addition: Warning messages:
> > 1: executing %dopar% sequentially: no parallel backend registered
> > 2: In max(x$tradeStats$Net.Trading.PL) :
> > no non-missing arguments to max; returning -Inf
> >
> >
> > I know this is common on windows systems, I have tried doParallel
> > then registerDoSEQ() but still receive the error. I have also attempted
> to
> > use doRedis package and set up a local server. However there is no output
> > and it will just run for hours and hours.
> >
> > I am very new to this package and would really like anyone helps. Thank
> you
> >
> > -Derek
> >
> > [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-SIG-Finance at r-project.org 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.
>
[[alternative HTML version deleted]]
More information about the R-SIG-Finance
mailing list