I created a simple strategy and it will just print the Time[0] value and System Time value in the output window.
protected override void OnBarUpdate()
{
Print("Time ="+Time[0].ToString("dd/MM/yy HH:mm:ss.fff")+ " Now = "+DateTime.Now.ToString("dd/MM/yy HH:mm:ss.fff"));
}
On the output window i noticed that there is a small difference in MilliSeconds part. May i know why this difference ..? How can i match both the time are same..?
I attached the Screenshot here.
Comment