Esempio n. 1
0
 public StrategyLog(StrategyLogManager manager, StrategyLogList list, string name)
 {
     this.manager = manager;
     this.List    = list;
     this.Name    = name;
     this.items   = new SortedList <DateTime, object>();
 }
Esempio n. 2
0
 public StrategyLog(StrategyLogManager manager, StrategyLogList list, string name)
 {
   this.manager = manager;
   this.List = list;
   this.Name = name;
   this.items = new SortedList<DateTime, object>();
 }
Esempio n. 3
0
		public StrategyLogList(StrategyLogManager manager, string strategyName, string symbol)
		{
			this.manager = manager;
			this.StrategyName = strategyName;
			this.Symbol = symbol;
			this.logs = new SortedList<string, StrategyLog>();
			this.array = new List<StrategyLog>();
		}
Esempio n. 4
0
 public StrategyLogList(StrategyLogManager manager, string strategyName, string symbol)
 {
     this.manager      = manager;
     this.StrategyName = strategyName;
     this.Symbol       = symbol;
     this.logs         = new SortedList <string, StrategyLog>();
     this.array        = new List <StrategyLog>();
 }
Esempio n. 5
0
 protected override void OnInit()
 {
     this.manager = (StrategyLogManager)this.Key;
 }
Esempio n. 6
0
 protected override void OnInit()
 {
   this.manager = (StrategyLogManager) this.Key;
 }
Esempio n. 7
0
 public void Init(StrategyLogManager manager, string solutionName)
 {
   this.manager = manager;
   this.solutionName = solutionName;
   lock (manager.SyncRoot)
   {
     foreach (StrategyLogList item_1 in manager.LogLists)
     {
       foreach (StrategyLog item_0 in item_1.Logs)
       {
         this.Add(item_0);
         if (item_0.Count > 0)
           this.Add(item_0.Last);
       }
     }
     manager.Cleared += new EventHandler(this.manager_Cleared);
     manager.LogAdded += new EventHandler<StrategyLogEventArgs>(this.manager_LogAdded);
     manager.LogItemAdded += new EventHandler<StrategyLogItemEventArgs>(this.manager_LogItemAdded);
     this.cbxDataViewMode_SelectedIndexChanged((object) this.cbxDataViewMode, EventArgs.Empty);
   }
   Global.TimerManager.Start((ITimerItem) this);
 }