Ejemplo n.º 1
0
 public LiveQuoteEventArgs(Security security, LiveQuoteType quoteType, DateTime quoteTime, decimal quotePrice, long quoteVolume)
 {
     this.security = security ?? throw new ArgumentNullException(nameof(security));
     QuoteType     = quoteType;
     QuoteTime     = quoteTime;
     QuotePrice    = quotePrice;
     QuoteVolume   = quoteVolume;
 }
Ejemplo n.º 2
0
 protected void OnLiveQuoteReceived(Security security, LiveQuoteType quoteType, DateTime quoteTime, decimal quotePrice, long quoteVolume)
 {
     LiveQuoteReceived?.Invoke(this, new LiveQuoteEventArgs(
                                   security, quoteType, quoteTime, quotePrice, quoteVolume));
 }