I want to produce my own statistics for each test run. Since it is not possible to execute a piece of code at the end of a testing round I pass now a parameter with my last testing date in order to do the calculations this way.
But it seems that it is impossible to access the last day of a range. Example:
Start Date: 1.1.2005
End Date: 29.10.2010
In the code (OnBarUpdate) the last processed date is 28.10.2010. In the NT statistics, the open positions are closed on 29.10.2010.
Why is 29.10.2010 not processed with OnBarUpdate? Is there any possibility to catch 29.10.2010 as last day of the testing range?
thanks
Andre
Comment