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