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

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