You get Long(6) when your sell statement evaluates to 6 ie sell = 6 check your sell statements.
--- In [email protected], "vlanschot" <vlansc...@...> wrote: > > Hi, > > I seem to have a recurring problem in my optimization/backtest, whereby at > some point the trade enters and exits on the same day and returns "Long(6)", > with an exit price listed as decimals: > > Trade Date Price Ex.Date Ex.Price > Long(6) 26/08/2009 1181.75 26/08/2009 0.4727 > > Looking at the chart, as well as in the quote monitor, the data seems OK. > > Can somebody please enlighten me on what may cause this behavior? For all > clarity my Buy rule is simply Buy = 1. > > Thx, > > PS >
