public override void Run() { strategy = new MyStrategy(framework, "ComponentStrategy"); Instrument instrument = InstrumentManager.Instruments["AAPL"]; strategy.AddInstrument(instrument); //DataSimulator.DateTime1 = new DateTime(2012, 12, 03); //DataSimulator.DateTime2 = new DateTime(2013, 12, 04); BarFactory.Add(instrument, BarType.Time, 60); StartStrategy(); }