public QuotesStorageObserver(string symbol, ISymbolDataUpdatedNotifier notifier) { this.symbol = symbol; this.notifier = notifier; this.notifier.OnQuotesUpdate += new SymbolDataUpdatedNotification(OnQuotesUpdate); }
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; }