The resolution of the performance chart is controlled with the "bar size for chart" parameter. Change it to the desired bar size, run backtest, and show the chart. The reason I didn't include the "1 sec" resolution is because on my system displaying 20 million 1-sec bars pushes the memory limits.
On Sat, Oct 8, 2011 at 9:00 AM, Jack Harvard <[email protected]> wrote: > Hi Klaus, > > Look at the following two classes: PerformanceChartData and BarSize. > > 1. public PerformanceChartData(BarSize barSize, List<Indicator> indicators) > 2. public enum BarSize extends Enum<BarSize> > > The BarSize is defined in an Enum type, the smallest is 5 seconds, you need > to add another Enum member 'second1'. > > Hope this helps. > > Jack > > On 8 Oct 2011, at 10:20, Klaus wrote: > > > the performance chart is a great tool for understanding the way a tested > strategy performs by seeing the various indicator values. > > However, it is often cumbersome as all the bars are one minute bars, but > JBT works on a one second basis. > > Is there a way to change this parameter, so that for each second > individually the values are plotted? > > (I understand, this is also a memory and performance tradeoff, but in > some cases this would just extremely helpful.) > > This parameter is surely somewhere in the code, but I failed to find it. > > > > Ideally, of course, this would be a preference that can be set (either > before the backtest is done or before the chart is plotted), > > depending on how the aggregation works. However, if I would be able to > find the code fragment and manipulate that, it > > would be fine for me as well. > > > > Thanks > > Klaus > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "JBookTrader" group. > > To view this discussion on the web visit > https://groups.google.com/d/msg/jbooktrader/-/JBTMC0y5FdEJ. > > 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. > > -- > 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. > > -- 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.
<<attachment: chart.png>>
