Пример #1
0
 public Performance(Model model)
 {
     log.Register(this);
     this.model = model;
     equity     = new Equity(model, this);
     position   = new PositionCommon(model);
 }
Пример #2
0
 public ExitStrategy(Strategy strategy) : base(strategy)
 {
     this.strategy = strategy;
     position      = new PositionCommon(strategy);
     strategy.RequestEvent(EventType.Tick);
 }
Пример #3
0
        public ExitStrategy(Strategy strategy) : base(strategy)
        {
            position = new PositionCommon(strategy);
//			int OptimizeTickEvent = 0;
            strategy.RequestEvent(EventType.Tick);
        }