示例#1
0
        public bool HasTriggered(AlertPricePoint pp)
        {
            _monitors.TryGetValue(pp.Id, out var m);

            return(m != null && m.IsTriggered);
        }
示例#2
0
 public StockMonitor(Alert alert, AlertPricePoint pricePoint)
 {
     Alert      = alert;
     PricePoint = pricePoint;
     Value      = null;
 }