示例#1
0
 public ComponentStrategy(Framework framework, string name) : base(framework, name)
 {
     this.DataComponent      = new DataComponent();
     this.AlphaComponent     = new AlphaComponent();
     this.PositionComponent  = new PositionComponent();
     this.RiskComponent      = new RiskComponent();
     this.ExecutionComponent = new ExecutionComponent();
     this.ReportComponent    = new ReportComponent();
 }
示例#2
0
		public ComponentStrategy(Framework framework, string name) : base(framework, name)
		{
			this.DataComponent = new DataComponent();
			this.AlphaComponent = new AlphaComponent();
			this.PositionComponent = new PositionComponent();
			this.RiskComponent = new RiskComponent();
			this.ExecutionComponent = new ExecutionComponent();
			this.ReportComponent = new ReportComponent();
		}