Ok, I'll run the same thing here and see what happens. On Sep 30, 7:05 pm, Klaus <[email protected]> wrote: > Tried the approach with null: > weird. It does not stop (clock is still counting and so on, but > the data does not change any more..) > > Klaus > > On 30 Sep., 21:04, Klaus <[email protected]> wrote: > > > I would also expect during these times 0 as a course, but it is -1 .. > > > On 29 Sep., 22:23, nonlinear5 <[email protected]> wrote: > > > > > Alternatively: can we simply return null? > > > > Yes, this should work without modifying any other parts of the code. > > > It's actually a mystery to me why the averageBalance would ever be > > > NaN. I'd expect 0 when market data stops. I'll investigate before > > > making a permanent fix.
-- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
