[skipped early morning}...
Live Instrument: TF 06-11, 15 Minute. Time: 3/4/2011 11:15:00 AM Close: 824.1 Bar: 17528
Live Instrument: 6E 06-11, 15 Minute. Time: 3/4/2011 11:20:00 AM Close: 1.3947 Bar: 20675
Live Instrument: YG 06-11, 15 Minute. Time: 3/4/2011 11:16:00 AM Close: 1431.6 Bar: 55392
Live Instrument: ES 06-11, 15 Minute. Time: 3/4/2011 11:30:00 AM Close: 1315.75 Bar: 20489
Live Instrument: ES 06-11, 60 Minute. Time: 3/4/2011 11:30:00 AM Close: 1315.75 Bar: 5312
Live Instrument: YG 06-11, 15 Minute. Time: 3/4/2011 11:31:00 AM Close: 1430.9 Bar: 55393
Live Instrument: 6E 06-11, 15 Minute. Time: 3/4/2011 11:35:00 AM Close: 1.395 Bar: 20676
Live Instrument: ES 06-11, 15 Minute. Time: 3/4/2011 11:45:00 AM Close: 1318.25 Bar: 20490
Live Instrument: YG 06-11, 15 Minute. Time: 3/4/2011 11:46:00 AM Close: 1434.1 Bar: 55394
Live Instrument: 6E 06-11, 15 Minute. Time: 3/4/2011 11:50:00 AM Close: 1.3954 Bar: 20677
Live Instrument: TF 06-11, 15 Minute. Time: 3/4/2011 11:30:00 AM Close: 822 Bar: 17529
Live Instrument: TF 06-11, 60 Minute. Time: 3/4/2011 11:30:00 AM Close: 822 Bar: 4545
Live Instrument: ES 06-11, 15 Minute. Time: 3/4/2011 12:00:00 PM Close: 1314 Bar: 20491
Live Instrument: TF 06-11, 15 Minute. Time: 3/4/2011 12:00:00 PM Close: 821 Bar: 17530
Here is the code that produced that:
In public class Tra******et : Strategy
{
bool realTime = false;
....
In protected override void OnBarUpdate()
{
// Catch and hold realtime transition
if( !Historical )
realTime = true;
if( realTime ){
string live = Historical ? "Historical": "Live";
Print(live + " Instrument: " + Instrument.FullName + ", " + BarsPeriod.Value + " " + BarsPeriod.Id + ". Time: " + Time[0] + " Close: " + Close[0] + " Bar: " + CurrentBar);
}
This produced that very useful output above. Note these two lines:
Live Instrument: 6E 06-11, 15 Minute. Time: 3/4/2011 11:50:00 AM Close: 1.3954 Bar: 20677
Live Instrument: TF 06-11, 15 Minute. Time: 3/4/2011 11:30:00 AM Close: 822 Bar: 17529
This means that the OnBarUpdate for TF 06-11, 15 Minute for the 11:30 AM bar came after the 6E 06-11, 15 Minute for the 11:50 bar. I was watching at this time (it was 11:55AM when these updates were printed) and a DOM showed TF 06-11 getting volume and price updates real time. Yesterday I called Vision Financial tech support to ask about this and they said if the DOM is getting price and volume then they are supplying data to NT. It must be NT that is not charting the data!
Comment