> How can I access these values ? value[1] ... ?
> How can I debug and see if that's right ? like a printf.
The MovingWindow class is missing the access method which would allow
one to retrieve any of the last N elements from the internal buffer. I
will add it to the next release, which is scheduled for this weekend.
In regards to debugging, the most convenient way would be to use the
reporting feature of JBT:
EventReport eventReport = Dispatcher.getInstance().getEventReport();
eventReport.report("my strategy", "my debug message");
This will format and write your messages to /reports/EventReport.htm
--
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.