Exemple #1
0
 public QuotesStorageObserver(string symbol, ISymbolDataUpdatedNotifier notifier)
 {
     this.symbol   = symbol;
     this.notifier = notifier;
     this.notifier.OnQuotesUpdate += new SymbolDataUpdatedNotification(OnQuotesUpdate);
 }
Exemple #2
0
 public QuotesHandler(ISymbolDataUpdatedNotifier quoteUpdateNotifier)
 {
     this.quoteUpdateNotifier = quoteUpdateNotifier;
     this.quoteUpdateNotifier.OnQuotesUpdate += new SymbolDataUpdatedNotification(OnQuotesUpdate);
 }
 public OrderBookLastUpdateTimeStamped(ISymbolDataUpdatedNotifier notifier)
 {
     this.notifier                 = notifier;
     this.lastNotification         = DateTime.MinValue;
     this.notifier.OnQuotesUpdate += UpdateLastNotificationOnQuotesUpdate;
 }