RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        


«««123

Stop Loss bug (backtesting) Expand / Collapse
Message
Posted 2/28/2010 11:40:45 Post #10979
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
anything new on this?
Posted 2/28/2010 18:08:52 Post #10983
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
I think I have figured out what the problem was. When using CreateTicksFromBars=false, you should never have a position opening and closing on the same day. What was happening is that if the order was filled on the bar's high, low, or close, the bar end time was being used as the fill time. The bar end time of one bar is the same as the start time of the next bar, which meant these orders were showing up as being filled one bar later than they actually were.

I've fixed this so the fill time will now be one second before the bar end time.

Thanks,
Daniel
Posted 2/28/2010 18:17:52 Post #10984
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Is the build available for testing?
Posted 3/1/2010 01:34:17 Post #10987
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
gregoryj (2/28/2010)
Is the build available for testing?


Not yet, but I expect we will release it in a few days.

Thanks,
Daniel
« Prev Topic | Next Topic »

«««123

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:14pm

2005-2007 © RightEdge Systems