DateTime now = Connection.PlaybackConnection != null ? Connection.PlaybackConnection.Now : DateTime.Now;
to get current time, but i see that it's faulty.
If i am not in MarketReplay, then it gets DateTime.Now, which is 1 minute (or i.e. 36 seconds or whatever) different that feed's time.
How to get current real-time from feed-data?
I've been thinking about: "Cbi.Connection.Connections[0].Now", but i dont know which connection index is used by current chart symbol.
Comment