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