Example #1
0
        private static void Report(object state)
        {
            var builder = new StringBuilder();

            builder.AppendLine("----------Status Report:" + DateTime.Now);
            builder.AppendLine(TradeAdapter.Instance.GetStatus());
            builder.AppendLine(MdAdapter.Instance.GetStatus());
            builder.AppendLine(DataSaver.GetStatus());
            builder.AppendLine("----------Status End----------");
            Debug.WriteLine(builder.ToString());
        }