One day data loading range
Author: Hero
Creation Date: 3/6/2016 7:36 AM
profile picture

Hero

#1
Hi,
I am a day trader. And want to set the "Date Range " to 1 day for backtest.
But it always show error that "Start Date must before End Date". So I have to test at least two days Bar.
Is anybody know how to set day range to 1 day.

Thanks
profile picture

Eugene

#2
Hi,

Not sure if you're not pulling my leg with "1 day backtest". Nonetheless, this is by design. Although you can't override this, a workaround is to set your strategy to only process trades on the last day:

CODE:
Please log in to see this code.
profile picture

Hero

#3
Thanks a lot.
Is any way to do it in control panel as attached plot? I am not familiar with C language.
profile picture

Eugene

#4
If you still have any question please carefully reread my reply:

QUOTE:
Nonetheless, this is by design. Although you can't override this,
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).