internal ConcurrentQueue <AnalizationObjects> analizationPool = new ConcurrentQueue <AnalizationObjects>(); //пул параметров появляющихся в системе для алгоритма анализа стратегией public void RegisterAnalizationObject(StrategyOperation oper, object o) { analizationPool.Enqueue(new AnalizationObjects() { operation = oper, obj = o }); }
protected virtual void Log(LogType logType, string text, double rate, double amount, StrategyOperation operation) { History.Add(new StrategyHistoryItem() { Type = logType, Rate = rate, Amount = amount, Operation = operation, Time = DateTime.Now, Text = text, BuyDeposit = MaxActualBuyDeposit, SellDeposit = MaxActualSellDeposit }); }