I have a strange problem. I run this strategy on 1-tick series:
protected override void OnBarUpdate() {
Print(Time[0]+" Trade "+VOL()[0]+" at "+Close[0]+" Now = "+DateTime.Now);
}
against FGBL 12-10 replay file for 21st Oct at 07:10 (GMT+1) and I get this output:
21/10/2010 07:10:01 Trade 2 at 129.91 Now = 01/11/2010 15:14:49
21/10/2010 07:10:02 Trade 3 at 129.91 Now = 01/11/2010 15:14:54
21/10/2010 07:10:07 Trade 10 at 129.91 Now = 01/11/2010 15:14:56
21/10/2010 07:10:09 Trade 61 at 129.92 Now = 01/11/2010 15:15:05
In the T&S window I see all the trades as they happen. However OBU doesn't seem to be called for the trade at 07:10:09 until about 7 seconds after it appears in the T&S window. What's going on? This happens every time I run this.
thanks
Dave

Comment