Exemple #1
0
        internal override void Initialize(Manager manager, IStrategyLog log, string symbol, PriceType priceType, BarPeriod periodicity)
        {
            if (manager == null)
                throw new ArgumentNullException("manager");

            if (log == null)
                throw new ArgumentNullException("log");

            this.manager = manager;
            this.log = log;
            this.symbol = symbol;
            this.priceType = priceType;
            this.periodicity = periodicity;
            this.manager.Updated += this.OnUpdated;
        }
Exemple #2
0
 internal abstract void Initialize(Manager manager, IStrategyLog log, string symbol, PriceType priceType, BarPeriod periodicity);